Skip to content

Commit 601a61d

Browse files
authored
test: Fix r-string test (#4637)
1 parent 4c731e5 commit 601a61d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

prqlc/prqlc-parser/src/test.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ fn test_dates() {
18241824
#[test]
18251825
fn test_multiline_string() {
18261826
assert_yaml_snapshot!(parse_single(r##"
1827-
derive x = r#"r-string test"#
1827+
derive x = r"r-string test"
18281828
"##).unwrap(), @r###"
18291829
---
18301830
- VarDef:
@@ -1835,9 +1835,10 @@ fn test_multiline_string() {
18351835
name:
18361836
Ident: derive
18371837
args:
1838-
- Ident: r
1838+
- Literal:
1839+
String: r-string test
18391840
alias: x
1840-
span: "0:9-39"
1841+
span: "0:9-37"
18411842
"### )
18421843
}
18431844

0 commit comments

Comments
 (0)