rust/src/test/run-pass/str-multiline.rs
2018-12-25 21:08:33 -07:00

12 lines
286 B
Rust

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());
}