mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
Fix some tests
This commit is contained in:
parent
af8e9c7292
commit
ff2704056e
@ -731,7 +731,7 @@ mod test_snapshots {
|
||||
|
||||
#[test]
|
||||
fn string_with_interpolation_in_middle() {
|
||||
assert_segments(r#""Hi, \(name)!""#, |arena| {
|
||||
assert_segments(r#""Hi, $(name)!""#, |arena| {
|
||||
let expr = arena.alloc(Var {
|
||||
module_name: "",
|
||||
ident: "name",
|
||||
@ -747,7 +747,7 @@ mod test_snapshots {
|
||||
|
||||
#[test]
|
||||
fn string_with_interpolation_in_front() {
|
||||
assert_segments(r#""\(name), hi!""#, |arena| {
|
||||
assert_segments(r#""$(name), hi!""#, |arena| {
|
||||
let expr = arena.alloc(Var {
|
||||
module_name: "",
|
||||
ident: "name",
|
||||
@ -762,7 +762,7 @@ mod test_snapshots {
|
||||
|
||||
#[test]
|
||||
fn string_with_interpolation_in_back() {
|
||||
assert_segments(r#""Hello \(name)""#, |arena| {
|
||||
assert_segments(r#""Hello $(name)""#, |arena| {
|
||||
let expr = arena.alloc(Var {
|
||||
module_name: "",
|
||||
ident: "name",
|
||||
|
Loading…
Reference in New Issue
Block a user