mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Update tests to use $(...) interpolation
This commit is contained in:
parent
25be487977
commit
163bde0c41
3 changed files with 55 additions and 18 deletions
|
@ -777,7 +777,7 @@ mod test_snapshots {
|
|||
|
||||
#[test]
|
||||
fn string_with_multiple_interpolations() {
|
||||
assert_segments(r#""Hi, \(name)! How is \(project) going?""#, |arena| {
|
||||
assert_segments(r#""Hi, $(name)! How is $(project) going?""#, |arena| {
|
||||
let expr1 = arena.alloc(Var {
|
||||
module_name: "",
|
||||
ident: "name",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue