~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check_string() should check that GOT is non-NULL, not WANT!
[disorder]
/
libtests
/
test.h
diff --git
a/libtests/test.h
b/libtests/test.h
index
cada395
..
87f0224
100644
(file)
--- a/
libtests/test.h
+++ b/
libtests/test.h
@@
-95,7
+95,7
@@
extern int skipped;
const char *got = GOT; \
const char *want = WANT; \
\
- if(
wan
t == 0) { \
+ if(
go
t == 0) { \
fprintf(stderr, "%s:%d: %s returned 0\n", \
__FILE__, __LINE__, #GOT); \
count_error(); \