summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.h
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-25 23:35:25 (GMT)
committerGitHub <noreply@github.com>2021-08-25 23:35:25 (GMT)
commit32cb23fe7e5f0a29d113960a36039adfde8398d8 (patch)
tree271a5ce6b755bcd95deb355426efe9246498fde4 /test/testhdf5.h
parente367c80b39529c9a863c3236e25bfb46b707b815 (diff)
downloadhdf5-32cb23fe7e5f0a29d113960a36039adfde8398d8.zip
hdf5-32cb23fe7e5f0a29d113960a36039adfde8398d8.tar.gz
hdf5-32cb23fe7e5f0a29d113960a36039adfde8398d8.tar.bz2
Merge of mostly clang-tidy changes from 1.12 (#965)
Diffstat (limited to 'test/testhdf5.h')
-rw-r--r--test/testhdf5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testhdf5.h b/test/testhdf5.h
index a38309a..2544dd4 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -136,7 +136,7 @@
"%s \n", \
(where), (int)__LINE__, __FILE__, x); \
} \
- if (HDstrcmp(x, val)) { \
+ if (HDstrcmp(x, val) != 0) { \
TestErrPrintf("*** UNEXPECTED VALUE from %s should be %s, but is %s at line %4d " \
"in %s\n", \
where, val, x, (int)__LINE__, __FILE__); \