added empty line test

This commit is contained in:
llogiq 2015-08-13 15:48:48 +02:00 committed by Manish Goregaokar
parent f4b5d21533
commit dece5a6cb5
1 changed files with 16 additions and 0 deletions

View File

@ -36,3 +36,19 @@ if x {
\tz
}".into(), false));
}
#[test]
fn test_empty_line() {
assert_eq!("\
if x {
y
} else {
z
}", trim_multiline(" if x {
y
} else {
z
}".into(), false));
}