summaryrefslogtreecommitdiff
path: root/dhall/tests
diff options
context:
space:
mode:
authorNadrieril2020-02-02 18:27:00 +0000
committerNadrieril2020-02-02 18:36:06 +0000
commit488bce275f104384282a0867aeaad011ae8cf48c (patch)
tree8c9d117635ffe60781dfac31b7c612ee172e1b71 /dhall/tests
parentb7b5a0d27eb0cccdcd0c532a7042b3514eacbe40 (diff)
Add local test files on top of dhall-lang tests
Diffstat (limited to 'dhall/tests')
-rw-r--r--dhall/tests/type-errors/SortInLet.txt1
-rw-r--r--dhall/tests/type-inference/failure/SortInLet.dhall1
2 files changed, 2 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/SortInLet.txt b/dhall/tests/type-errors/SortInLet.txt
new file mode 100644
index 0000000..5b88ff7
--- /dev/null
+++ b/dhall/tests/type-errors/SortInLet.txt
@@ -0,0 +1 @@
+Type error: Unhandled error: Sort
diff --git a/dhall/tests/type-inference/failure/SortInLet.dhall b/dhall/tests/type-inference/failure/SortInLet.dhall
new file mode 100644
index 0000000..b19b882
--- /dev/null
+++ b/dhall/tests/type-inference/failure/SortInLet.dhall
@@ -0,0 +1 @@
+let x = Sort in 0