summaryrefslogtreecommitdiff
path: root/dhall/tests
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests')
-rw-r--r--dhall/tests/import/success/unit/DontCacheIfHashA.dhall2
-rw-r--r--dhall/tests/import/success/unit/DontCacheIfHashB.dhall1
2 files changed, 3 insertions, 0 deletions
diff --git a/dhall/tests/import/success/unit/DontCacheIfHashA.dhall b/dhall/tests/import/success/unit/DontCacheIfHashA.dhall
new file mode 100644
index 0000000..ed5ffad
--- /dev/null
+++ b/dhall/tests/import/success/unit/DontCacheIfHashA.dhall
@@ -0,0 +1,2 @@
+let x = ../../data/simple.dhall
+in ../../data/simple.dhall sha256:3871180b87ecaba8b53fffb2a8b52d3fce98098fab09a6f759358b9e8042eedc
diff --git a/dhall/tests/import/success/unit/DontCacheIfHashB.dhall b/dhall/tests/import/success/unit/DontCacheIfHashB.dhall
new file mode 100644
index 0000000..660a1cc
--- /dev/null
+++ b/dhall/tests/import/success/unit/DontCacheIfHashB.dhall
@@ -0,0 +1 @@
+λ(_ : Type) → λ(_ : Optional _) → merge { `None` = True, `Some` = λ(_ : _@1) → False } _