From 5f3ca811f09dcf6f09fb9b60fcd2664d06762f39 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Wed, 28 Oct 2020 20:25:06 +0000 Subject: No need to escape underscores in pretty-printing --- dhall/tests/parser/success/text/templateB.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall/tests/parser/success/text') 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" -- cgit v1.2.3