chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9efa107
)
check_string() should check that GOT is non-NULL, not WANT!
author
Richard Kettlewell
<richard@deodand>
Thu, 17 Jun 2010 20:05:35 +0000
(21:05 +0100)
committer
Richard Kettlewell
<richard@deodand>
Thu, 17 Jun 2010 20:05:35 +0000
(21:05 +0100)
libtests/test.h
patch
|
blob
|
blame
|
history
diff --git
a/libtests/test.h
b/libtests/test.h
index cada395ad03dcf55c8f0fcbc73d4775d928d7d7b..87f0224cf60de01d6bb23504b0277b198275546b 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(); \