We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a316e37 commit 5697bcbCopy full SHA for 5697bcb
libtu/test/tutest.c
@@ -39,8 +39,10 @@ int test_get_token() {
39
return 31;
40
if (tok.type != TOK_DOUBLE)
41
return 32;
42
- if (TOK_DOUBLE_VAL(&tok) != 2.3)
+ if (TOK_DOUBLE_VAL(&tok) != 2.3){
43
+ fprintf(stderr, "Expected 2.3, got %f\n", TOK_DOUBLE_VAL(&tok));
44
return 33;
45
+ }
46
47
// ignore comment and go to next line
48
if(tokz_get_token(tokz, &tok) == FALSE)
0 commit comments