summaryrefslogtreecommitdiff
path: root/dhall/tests/normalization
diff options
context:
space:
mode:
authorNadrieril2020-04-09 23:09:47 +0100
committerNadrieril2020-04-09 23:10:36 +0100
commitda80ef06a91e3869cc3c1d4dbd07259c408ff490 (patch)
tree76c2406150a3c46d6b7281ca3503d1a859a25e3d /dhall/tests/normalization
parent96bc42f4d7aa6746658e2da3bf6a6125e275c231 (diff)
Move Label escaping out of its Display impl
Diffstat (limited to '')
-rw-r--r--dhall/tests/normalization/success/regression/ToMapQuotedFieldsA.dhall1
-rw-r--r--dhall/tests/normalization/success/regression/ToMapQuotedFieldsB.dhall1
2 files changed, 2 insertions, 0 deletions
diff --git a/dhall/tests/normalization/success/regression/ToMapQuotedFieldsA.dhall b/dhall/tests/normalization/success/regression/ToMapQuotedFieldsA.dhall
new file mode 100644
index 0000000..2b355fa
--- /dev/null
+++ b/dhall/tests/normalization/success/regression/ToMapQuotedFieldsA.dhall
@@ -0,0 +1 @@
+toMap { `if` = 0, `foo%bar` = 1 }
diff --git a/dhall/tests/normalization/success/regression/ToMapQuotedFieldsB.dhall b/dhall/tests/normalization/success/regression/ToMapQuotedFieldsB.dhall
new file mode 100644
index 0000000..d71242b
--- /dev/null
+++ b/dhall/tests/normalization/success/regression/ToMapQuotedFieldsB.dhall
@@ -0,0 +1 @@
+[ { mapKey = "foo%bar", mapValue = 1 }, { mapKey = "if", mapValue = 0 } ]