rust/src/test/ui/str-multiline.rs
2019-07-27 18:56:16 +03:00

14 lines
299 B
Rust

// run-pass
pub fn main() {
let a: String = "this \
is a test".to_string();
let b: String =
"this \
is \
another \
test".to_string();
assert_eq!(a, "this is a test".to_string());
assert_eq!(b, "this is another test".to_string());
}