fix tests, use '$first_answer' to print indentation before errors (#1408)

This commit is contained in:
Mark Thom
2022-04-09 20:32:52 -06:00
parent 00eab4d415
commit 8bf3d4ea71
6 changed files with 17 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ fn hello_world() {
fn syntax_error() {
load_module_test(
"tests-pl/syntax_error.pl",
"caught: error(syntax_error(incomplete_reduction),read_term/3:6)\n",
" error(syntax_error(incomplete_reduction),read_term/3:6)\n",
);
}