mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00: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
1
tests/functional/lang/parse-okay-ind-string.exp
Normal file
1
tests/functional/lang/parse-okay-ind-string.exp
Normal file
@ -0,0 +1 @@
|
||||
(let string = "str"; in [ (/some/path) ((/some/path)) (("" + /some/path)) ((/some/path + "\n end")) (string) ((string)) (("" + string)) ((string + "\n end")) ("") ("") ("end") ])
|
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…
Reference in New Issue
Block a user