forked from github/server
fix compiation problems after merge
what is going on with this? why was critbit outdated?
This commit is contained in:
parent
f747b4ee05
commit
435d801239
2
critbit
2
critbit
|
@ -1 +1 @@
|
||||||
Subproject commit dfe57a077222c6b572da61a79dc0687f81c10055
|
Subproject commit 934c2dd94d41da19637a76a1a8b3dfeb7aa8524d
|
|
@ -336,10 +336,13 @@ static void test_spell_syntax(CuTest *tc, char *msg, spell_fixture *spell, char
|
||||||
while (linestart && !strstr(linestart, "ZAUBERE"))
|
while (linestart && !strstr(linestart, "ZAUBERE"))
|
||||||
linestart = strtok(NULL, "\n") ;
|
linestart = strtok(NULL, "\n") ;
|
||||||
|
|
||||||
CuAssertTrue(tc, (bool) linestart);
|
CuAssertPtrNotNull(tc, linestart);
|
||||||
|
|
||||||
while ((newline = strtok(NULL, "\n")))
|
newline = strtok(NULL, "\n");
|
||||||
*(newline-1) = '\n';
|
while (newline) {
|
||||||
|
*(newline - 1) = '\n';
|
||||||
|
newline = strtok(NULL, "\n");
|
||||||
|
}
|
||||||
|
|
||||||
CuAssertStrEquals_Msg(tc, msg, syntax, linestart);
|
CuAssertStrEquals_Msg(tc, msg, syntax, linestart);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue