diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-05-06 17:38:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-05-06 17:38:16 +0000 |
commit | fcf7bfe290dde7d21785eac95809dee94e586217 (patch) | |
tree | fa3d6b68a5b28abb98b3367d8f93cf77c4600663 /src/common/test.h | |
parent | 03ed54e920f16d726ca22f05d0d490fb6d8eed74 (diff) | |
download | tor-fcf7bfe290dde7d21785eac95809dee94e586217.tar.gz tor-fcf7bfe290dde7d21785eac95809dee94e586217.zip |
Refactor directories; add unit tests; add router keyword
svn:r266
Diffstat (limited to 'src/common/test.h')
-rw-r--r-- | src/common/test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/test.h b/src/common/test.h index 3a1215fe04..e80a964fca 100644 --- a/src/common/test.h +++ b/src/common/test.h @@ -63,7 +63,7 @@ char *v1=(expr1), *v2=(expr2); \ if(!strcmp(v1,v2)) { printf("."); } else { \ printf("\nFile %s: line %d (%s): Assertion failed: (%s==%s)\n"\ - " (%s != %s)\n", \ + " (\"%s\" != \"%s\")\n", \ __FILE__, \ __LINE__, \ __PRETTY_FUNCTION__, \ @@ -77,7 +77,7 @@ char *v1=(expr1), *v2=(expr2); \ if(strcmp(v1,v2)) { printf("."); } else { \ printf("\nFile %s: line %d (%s): Assertion failed: (%s!=%s)\n"\ - " (%s == %s)\n", \ + " (\"%s\" == \"%s\")\n", \ __FILE__, \ __LINE__, \ __PRETTY_FUNCTION__, \ |