Only consider the last line of stdout in repl tests

This commit is contained in:
Richard Feldman 2022-10-30 14:54:28 -04:00
parent 5fdca82519
commit 9f7a38408a
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 7 additions and 6 deletions

View file

@ -1067,10 +1067,9 @@ fn dec_in_repl() {
r#"
x: Dec
x=1.23
x
"#
x"#
),
r#"1.23 : Dec"#,
"1.23 : Dec",
)
}