Strip leading whitespace from test ouput in references

This commit is contained in:
Lukas Wirth 2021-06-23 16:49:36 +02:00
parent e406140f38
commit 12266d5e56

View file

@ -1059,7 +1059,7 @@ impl Foo {
actual += "\n"; actual += "\n";
} }
} }
expect.assert_eq(&actual) expect.assert_eq(actual.trim_start())
} }
#[test] #[test]