14 lines
299 B
Rust
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());
|
|
}
|