summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/IfBranchesNotType.txt
diff options
context:
space:
mode:
authorNadrieril2020-02-04 18:18:27 +0000
committerNadrieril2020-02-04 18:18:27 +0000
commitbde4104d061ab87d4af85a083c549ae174797710 (patch)
treed6d2d445a683c71021a24d7e691b02c24294ae76 /dhall/tests/type-errors/unit/IfBranchesNotType.txt
parent488bce275f104384282a0867aeaad011ae8cf48c (diff)
Add basic pretty type errors to all errors
Diffstat (limited to '')
-rw-r--r--dhall/tests/type-errors/unit/IfBranchesNotType.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/dhall/tests/type-errors/unit/IfBranchesNotType.txt b/dhall/tests/type-errors/unit/IfBranchesNotType.txt
index 06039a7..b70ac5f 100644
--- a/dhall/tests/type-errors/unit/IfBranchesNotType.txt
+++ b/dhall/tests/type-errors/unit/IfBranchesNotType.txt
@@ -1 +1,6 @@
-Type error: Unhandled error: IfBranchMustBeTerm
+Type error: error: IfBranchMustBeTerm
+ --> <current file>:1:0
+ |
+1 | if True then Type else Type
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ IfBranchMustBeTerm
+ |