]> git.lizzy.rs Git - rust.git/blob - src/test/ui/str-multiline.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / str-multiline.rs
1 // run-pass
2
3 pub fn main() {
4     let a: String = "this \
5 is a test".to_string();
6     let b: String =
7         "this \
8               is \
9               another \
10               test".to_string();
11     assert_eq!(a, "this is a test".to_string());
12     assert_eq!(b, "this is another test".to_string());
13 }