mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
fix tests for string escapes
This commit is contained in:
parent
4d4cfcf981
commit
6d29b69f9b
1 changed files with 3 additions and 3 deletions
|
@ -371,7 +371,7 @@ fn encode_use_stdlib() {
|
|||
_ -> "<bad>"
|
||||
"#
|
||||
),
|
||||
RocStr::from("\"Hello, World!\n\""),
|
||||
RocStr::from("\"Hello, World!\\n\""),
|
||||
RocStr
|
||||
)
|
||||
}
|
||||
|
@ -396,7 +396,7 @@ fn encode_use_stdlib_without_wrapping_custom() {
|
|||
_ -> "<bad>"
|
||||
"#
|
||||
),
|
||||
RocStr::from("\"Hello, World!\n\""),
|
||||
RocStr::from("\"Hello, World!\\n\""),
|
||||
RocStr
|
||||
)
|
||||
}
|
||||
|
@ -448,7 +448,7 @@ fn to_encoder_encode_custom_has_capture() {
|
|||
_ -> "<bad>"
|
||||
"#
|
||||
),
|
||||
RocStr::from("\"Hello, World!\n\""),
|
||||
RocStr::from("\"Hello, World!\\n\""),
|
||||
RocStr
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue