mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Add parser test for indented strings
So that in the next commit we can see what changes about this test
This commit is contained in:
parent
9300f855fc
commit
9fae50ed4b
2 changed files with 32 additions and 0 deletions
31
tests/functional/lang/parse-okay-ind-string.nix
Normal file
31
tests/functional/lang/parse-okay-ind-string.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
let
|
||||
string = "str";
|
||||
in [
|
||||
/some/path
|
||||
|
||||
''${/some/path}''
|
||||
|
||||
''
|
||||
${/some/path}''
|
||||
|
||||
''${/some/path}
|
||||
end''
|
||||
|
||||
string
|
||||
|
||||
''${string}''
|
||||
|
||||
''
|
||||
${string}''
|
||||
|
||||
''${string}
|
||||
end''
|
||||
|
||||
''''
|
||||
|
||||
''
|
||||
''
|
||||
|
||||
''
|
||||
end''
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue