Skip to content

Commit 69758b9

Browse files
committed
chore: string test case update
1 parent 6f0657d commit 69758b9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

languages/nu.scm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
;; keep empty lines
1919
(_) @allow_blank_line_before
2020

21-
;; TODO: temp workaround for the whitespace issue
21+
;; FIXME: temp workaround for the whitespace issue
2222
[
2323
":"
2424
";"
@@ -36,8 +36,7 @@
3636

3737
(assignment
3838
opr: _
39-
rhs:
40-
(pipeline
39+
rhs: (pipeline
4140
(pipe_element
4241
(val_string
4342
(raw_string_begin)
@@ -276,3 +275,4 @@
276275
(record_body
277276
entry: (record_entry) @append_space @prepend_spaced_softline
278277
)
278+

test/expected_string.nu

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ const hybrid_help_cmd = (
1212
string" +
1313
($help_preview_cmd | str replace '{}' '(bar)')
1414
)
15+
mut foo = 'foo bar'
16+
$foo += 'baz'
17+
$foo += r#'baz'#

test/input_string.nu

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ const hybrid_help_cmd = ("Multiline
1111
string" +
1212
($help_preview_cmd | str replace '{}' '(bar)')
1313
)
14+
mut foo = 'foo bar'
15+
$foo += 'baz'
16+
$foo += r#'baz'#

0 commit comments

Comments
 (0)