Sign in
fuchsia
/
third_party
/
rust
/
75c82b4dd8152562ff2056f2172b20aa9c46def2
/
.
/
src
/
test
/
ui
/
str-multiline.rs
blob: 2b2e001d8bb7fa85e59eccbb61b2df3de22ee46a [
file
] [
log
] [
blame
]
// 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
());
}