diff options
author | Nadrieril | 2020-06-25 13:55:49 +0100 |
---|---|---|
committer | Nadrieril | 2020-06-25 15:12:09 +0100 |
commit | 2cb647a1af179662832fb978b90f0b1df6e3dc18 (patch) | |
tree | eac1912c7b9fb905ad150ecc895e766560b38337 /dhall/tests/parser/success | |
parent | 8ca63c1cd953f2f480b25d63727a30da7a3c43df (diff) |
spec: allow quoted labels to be empty
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/parser/success/quotedLabelB.txt | 2 | ||||
-rw-r--r-- | dhall/tests/parser/success/quotedRecordLabelB.txt | 1 | ||||
-rw-r--r-- | dhall/tests/parser/success/quotedUnionLabelB.txt | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/dhall/tests/parser/success/quotedLabelB.txt b/dhall/tests/parser/success/quotedLabelB.txt index 861ae0b..f8175de 100644 --- a/dhall/tests/parser/success/quotedLabelB.txt +++ b/dhall/tests/parser/success/quotedLabelB.txt @@ -1 +1 @@ -{ example1 = let `let` = 1 in `let`, example2 = let `:.` = 1 in `:.`, example3 = let `$ref` = 1 in `$ref` } +{ example1 = let `let` = 1 in `let`, example2 = let `:.` = 1 in `:.`, example3 = let `$ref` = 1 in `$ref`, example4 = let `` = 1 in `` } diff --git a/dhall/tests/parser/success/quotedRecordLabelB.txt b/dhall/tests/parser/success/quotedRecordLabelB.txt new file mode 100644 index 0000000..6e5a76b --- /dev/null +++ b/dhall/tests/parser/success/quotedRecordLabelB.txt @@ -0,0 +1 @@ +{ `` = 2, ` ` = 3, foo = 1 } diff --git a/dhall/tests/parser/success/quotedUnionLabelB.txt b/dhall/tests/parser/success/quotedUnionLabelB.txt new file mode 100644 index 0000000..1974ec2 --- /dev/null +++ b/dhall/tests/parser/success/quotedUnionLabelB.txt @@ -0,0 +1 @@ +< ``: Natural | ` `: Natural | foo: Natural > |