From 980349dff0aaaa6ed34ae78d53ff57b67d7629d5 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 6 Dec 2020 17:18:58 +0000 Subject: Add test --- dhall/tests/spec.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dhall/tests/spec.rs') diff --git a/dhall/tests/spec.rs b/dhall/tests/spec.rs index 6b156f6..d3db321 100644 --- a/dhall/tests/spec.rs +++ b/dhall/tests/spec.rs @@ -535,6 +535,8 @@ fn ignore_test(variant: SpecTestKind, path: &str) -> bool { // Failing for now, we should fix that. let is_failing_for_now = false + // TODO: fix that one + // || path == "import/success/unit/MixImportModes" // TODO: fails because of caching issues. || path == "type-inference/success/prelude" // TODO: do not recover from cyclic imports -- cgit v1.2.3 From 6eb3612345c34e67acdc71662ea94f0952a48fd9 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 6 Dec 2020 17:47:32 +0000 Subject: An import location is not independent from the import mode --- dhall/tests/spec.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'dhall/tests/spec.rs') diff --git a/dhall/tests/spec.rs b/dhall/tests/spec.rs index d3db321..6b156f6 100644 --- a/dhall/tests/spec.rs +++ b/dhall/tests/spec.rs @@ -535,8 +535,6 @@ fn ignore_test(variant: SpecTestKind, path: &str) -> bool { // Failing for now, we should fix that. let is_failing_for_now = false - // TODO: fix that one - // || path == "import/success/unit/MixImportModes" // TODO: fails because of caching issues. || path == "type-inference/success/prelude" // TODO: do not recover from cyclic imports -- cgit v1.2.3 From ee941f668977b66d9d829bc9c359f3a3b64f9dc1 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 6 Dec 2020 18:06:38 +0000 Subject: Exclude the new test on Windows --- dhall/tests/spec.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dhall/tests/spec.rs') diff --git a/dhall/tests/spec.rs b/dhall/tests/spec.rs index 6b156f6..646083a 100644 --- a/dhall/tests/spec.rs +++ b/dhall/tests/spec.rs @@ -519,6 +519,7 @@ fn ignore_test(variant: SpecTestKind, path: &str) -> bool { // Paths on windows have backslashes; this breaks many things. This is undefined in the // spec; see https://github.com/dhall-lang/dhall-lang/issues/1032 || (variant == ImportSuccess && path.contains("asLocation")) + || path == "import/success/unit/MixImportModes" || variant == ImportFailure; // Only include in release tests. -- cgit v1.2.3