Issue 693: assert() wants a boolean, not a pointer
This commit is contained in:
1 parent
a74d6220e4
commit
c917762d6d
1 file changed
+1
-1
@@ -43,7 +43,7 @@ DEFINE_TEST(test_leading_slash)
|
||||
/* Verify the error output contains the expected text somewhere in it */
|
||||
if (assertFileExists("test.err")) {
|
||||
errfile = slurpfile(&errfile_size, "test.err");
|
||||
assert(strstr(errfile, expected_errmsg));
|
||||
assert(strstr(errfile, expected_errmsg) != NULL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user