aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xml2sexprtest.c')
-rw-r--r--tests/xml2sexprtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xml2sexprtest.c b/tests/xml2sexprtest.c
index 547c66f84..b2bb05d1f 100644
--- a/tests/xml2sexprtest.c
+++ b/tests/xml2sexprtest.c
@@ -43,7 +43,7 @@ static int testCompareFiles(const char *xml, const char *sexpr,
goto fail;
}
- if (strcmp(name, gotname)) {
+ if (STRNEQ(name, gotname)) {
printf("Got wrong name: expected %s, got %s\n", name, gotname);
goto fail;
}