diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-03-16 12:14:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-16 12:14:58 +0100 |
commit | 64441f055194e9fd9e924a58e67cadb030ba918f (patch) | |
tree | bdb9efbf4241073fd5c28d6ef13d683683d20f56 /tests | |
parent | eb75bc5afbaf2891a2db71e7932105223da94ac9 (diff) | |
parent | a0e38c16bc7773d0fc62771a9935e079c00899ef (diff) |
Merge pull request #1939 from dezgeg/lexer-fix
libexpr: Recognize newline in more places in lexer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/eval-okay-backslash-newline-1.exp | 1 | ||||
-rw-r--r-- | tests/lang/eval-okay-backslash-newline-1.nix | 2 | ||||
-rw-r--r-- | tests/lang/eval-okay-backslash-newline-2.exp | 1 | ||||
-rw-r--r-- | tests/lang/eval-okay-backslash-newline-2.nix | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-backslash-newline-1.exp b/tests/lang/eval-okay-backslash-newline-1.exp new file mode 100644 index 000000000..3e754364c --- /dev/null +++ b/tests/lang/eval-okay-backslash-newline-1.exp @@ -0,0 +1 @@ +"a\nb" diff --git a/tests/lang/eval-okay-backslash-newline-1.nix b/tests/lang/eval-okay-backslash-newline-1.nix new file mode 100644 index 000000000..7fef3dddd --- /dev/null +++ b/tests/lang/eval-okay-backslash-newline-1.nix @@ -0,0 +1,2 @@ +"a\ +b" diff --git a/tests/lang/eval-okay-backslash-newline-2.exp b/tests/lang/eval-okay-backslash-newline-2.exp new file mode 100644 index 000000000..3e754364c --- /dev/null +++ b/tests/lang/eval-okay-backslash-newline-2.exp @@ -0,0 +1 @@ +"a\nb" diff --git a/tests/lang/eval-okay-backslash-newline-2.nix b/tests/lang/eval-okay-backslash-newline-2.nix new file mode 100644 index 000000000..35ddf495c --- /dev/null +++ b/tests/lang/eval-okay-backslash-newline-2.nix @@ -0,0 +1,2 @@ +''a''\ +b'' |