summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index e790be09e..7a106c311 100644
--- a/src/test.c
+++ b/src/test.c
@@ -213,7 +213,7 @@ beyond (void)
static void
integer_expected_error (char const *pch)
{
- test_syntax_error (_("integer expression expected %s\n"), pch);
+ test_syntax_error (_("%s: integer expression expected\n"), pch);
}
/* Return nonzero if the characters pointed to by STRING constitute a
@@ -582,7 +582,9 @@ binary_operator (void)
}
break;
}
- test_syntax_error (_("unknown binary operator"), argv[op]);
+
+ /* FIXME: is this dead code? */
+ test_syntax_error (_("unknown binary operator\n"), argv[op]);
}
if (argv[op][0] == '=' && !argv[op][1])