summaryrefslogtreecommitdiff
path: root/dhall/tests/parser/success
diff options
context:
space:
mode:
authorNadrieril2020-10-28 20:25:06 +0000
committerNadrieril2020-10-28 22:52:41 +0000
commit5f3ca811f09dcf6f09fb9b60fcd2664d06762f39 (patch)
tree95c2e0f919ade0f26babe7f5084b491077d0db4e /dhall/tests/parser/success
parent70727acbda68e104f60ae1dbbe95adbcec08a628 (diff)
No need to escape underscores in pretty-printing
Diffstat (limited to 'dhall/tests/parser/success')
-rw-r--r--dhall/tests/parser/success/text/templateB.txt2
-rw-r--r--dhall/tests/parser/success/unit/LambdaUnderscoreB.txt2
-rw-r--r--dhall/tests/parser/success/unit/VariableUnderscoreB.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/dhall/tests/parser/success/text/templateB.txt b/dhall/tests/parser/success/text/templateB.txt
index 74303d3..939aa18 100644
--- a/dhall/tests/parser/success/text/templateB.txt
+++ b/dhall/tests/parser/success/text/templateB.txt
@@ -1 +1 @@
-λ(record : { `in_ca` : Bool, name : Text, `taxed_value` : Double, value : Double }) → "Hello ${ record.name }\nYou have just won ${ Double/show record.value } dollars!\n${ if record.`in_ca` then "Well, ${ Double/show record.`taxed_value` } dollars, after taxes" else "" }\n"
+λ(record : { in_ca : Bool, name : Text, taxed_value : Double, value : Double }) → "Hello ${ record.name }\nYou have just won ${ Double/show record.value } dollars!\n${ if record.in_ca then "Well, ${ Double/show record.taxed_value } dollars, after taxes" else "" }\n"
diff --git a/dhall/tests/parser/success/unit/LambdaUnderscoreB.txt b/dhall/tests/parser/success/unit/LambdaUnderscoreB.txt
index 10000d0..32719f0 100644
--- a/dhall/tests/parser/success/unit/LambdaUnderscoreB.txt
+++ b/dhall/tests/parser/success/unit/LambdaUnderscoreB.txt
@@ -1 +1 @@
-λ(`_` : T) → x
+λ(_ : T) → x
diff --git a/dhall/tests/parser/success/unit/VariableUnderscoreB.txt b/dhall/tests/parser/success/unit/VariableUnderscoreB.txt
index 5824cab..31354ec 100644
--- a/dhall/tests/parser/success/unit/VariableUnderscoreB.txt
+++ b/dhall/tests/parser/success/unit/VariableUnderscoreB.txt
@@ -1 +1 @@
-`_`
+_