properly iterate over read terms in MachineState::read_term

This commit is contained in:
Mark Thom
2021-12-10 10:10:00 -07:00
parent bcd33dc8e3
commit b24df6e195
3 changed files with 6 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ fn no_stutter() {
#[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'].\
"['tests-pl/issue812-singleton-warning.pl'].\n\
halt.\n",
"\
Warning: singleton variables X at line 3 of issue812-singleton-warning.pl\n \
@@ -151,7 +151,7 @@ fn singleton_warning() {
",
);
}
*/
*/
// issue #807
#[test]