From 8325de2db085bb0b3599bc453b658a1dacfe79ae Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 5 Nov 2020 00:18:38 +0000 Subject: tests: add some tests --- dhall/tests/import/success/unit/AlternativeWithVariableA.dhall | 1 + dhall/tests/import/success/unit/AlternativeWithVariableB.dhall | 1 + dhall/tests/import/success/unit/RecoverTransitiveFailureA.dhall | 1 + dhall/tests/import/success/unit/RecoverTransitiveFailureB.dhall | 1 + 4 files changed, 4 insertions(+) create mode 100644 dhall/tests/import/success/unit/AlternativeWithVariableA.dhall create mode 100644 dhall/tests/import/success/unit/AlternativeWithVariableB.dhall create mode 100644 dhall/tests/import/success/unit/RecoverTransitiveFailureA.dhall create mode 100644 dhall/tests/import/success/unit/RecoverTransitiveFailureB.dhall (limited to 'dhall/tests/import/success/unit') diff --git a/dhall/tests/import/success/unit/AlternativeWithVariableA.dhall b/dhall/tests/import/success/unit/AlternativeWithVariableA.dhall new file mode 100644 index 0000000..31f3c6f --- /dev/null +++ b/dhall/tests/import/success/unit/AlternativeWithVariableA.dhall @@ -0,0 +1 @@ +let x = 0 in (missing ? x) diff --git a/dhall/tests/import/success/unit/AlternativeWithVariableB.dhall b/dhall/tests/import/success/unit/AlternativeWithVariableB.dhall new file mode 100644 index 0000000..573541a --- /dev/null +++ b/dhall/tests/import/success/unit/AlternativeWithVariableB.dhall @@ -0,0 +1 @@ +0 diff --git a/dhall/tests/import/success/unit/RecoverTransitiveFailureA.dhall b/dhall/tests/import/success/unit/RecoverTransitiveFailureA.dhall new file mode 100644 index 0000000..4508e54 --- /dev/null +++ b/dhall/tests/import/success/unit/RecoverTransitiveFailureA.dhall @@ -0,0 +1 @@ +../failure/MissingFile.dhall ? 0 diff --git a/dhall/tests/import/success/unit/RecoverTransitiveFailureB.dhall b/dhall/tests/import/success/unit/RecoverTransitiveFailureB.dhall new file mode 100644 index 0000000..573541a --- /dev/null +++ b/dhall/tests/import/success/unit/RecoverTransitiveFailureB.dhall @@ -0,0 +1 @@ +0 -- cgit v1.2.3