fix some broken 'error' tests

This commit is contained in:
Allen Webster
2021-06-30 17:13:31 -04:00
parent 83b02b1772
commit bb6face7fe
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -525,7 +525,7 @@ int main(void)
{
MD_ParseResult parse = MD_ParseWholeFile(MD_S8Lit("__does_not_exist.md"));
TestResult(parse.node->kind == MD_NodeKind_File && parse.errors.first);
TestResult(parse.node->kind == MD_NodeKind_File && parse.errors.first != 0);
}
}