fix tests

This commit is contained in:
Skgland
2021-06-02 17:15:31 +02:00
parent e08c302756
commit fbbf705d10
2 changed files with 8 additions and 6 deletions

View File

@@ -131,13 +131,12 @@ fn no_stutter() {
}
// issue #812
#[test]
#[ignore] // FIXME: line is of by one, empty line not accounted for or starting to count at line 0?
#[test] // FIXME: the line number is of by one (should be 4), empty line not accounted for or starting to count at line 0?
fn singleton_warning() {
run_top_level_test_no_args(
"['tests-pl/issue812-singleton-warning.pl'].",
"\
Warning: singleton variables X at line 4 of issue812-singleton-warning.pl\n \
Warning: singleton variables X at line 3 of issue812-singleton-warning.pl\n \
true.\n\
",
);