summaryrefslogtreecommitdiff
path: root/dhall/src/phase
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/src/phase')
-rw-r--r--dhall/src/phase/resolve.rs47
1 files changed, 0 insertions, 47 deletions
diff --git a/dhall/src/phase/resolve.rs b/dhall/src/phase/resolve.rs
index c5f2ac8..c302bfa 100644
--- a/dhall/src/phase/resolve.rs
+++ b/dhall/src/phase/resolve.rs
@@ -178,50 +178,3 @@ impl<SE: Copy> Canonicalize for ImportLocation<SE> {
}
}
}
-
-#[cfg(test)]
-#[rustfmt::skip]
-mod spec_tests {
- macro_rules! import_success {
- ($name:ident, $path:expr) => {
- make_spec_test!(
- ImportSuccess(
- &("../dhall-lang/tests/import/success/".to_owned() + $path + "A.dhall"),
- &("../dhall-lang/tests/import/success/".to_owned() + $path + "B.dhall")
- ),
- $name
- );
- };
- }
-
- // macro_rules! import_failure {
- // ($name:ident, $path:expr) => {
- // make_spec_test!(
- // ImportFailure(&("../dhall-lang/tests/import/failure/".to_owned() + $path + ".dhall")),
- // $name
- // );
- // };
- // }
-
- // import_success!(success_alternativeEnvNatural, "alternativeEnvNatural");
- // import_success!(success_alternativeEnvSimple, "alternativeEnvSimple");
- // import_success!(success_alternativeHashMismatch, "alternativeHashMismatch");
- import_success!(success_alternativeNatural, "alternativeNatural");
- import_success!(success_alternativeParseError, "alternativeParseError");
- import_success!(success_alternativeTypeError, "alternativeTypeError");
- // import_success!(success_asLocation, "asLocation");
- // import_success!(success_asText, "asText");
- // import_success!(success_customHeaders, "customHeaders");
- import_success!(success_fieldOrder, "fieldOrder");
- // note: this one needs special setup with env variables
- // import_success!(success_hashFromCache, "hashFromCache");
- // import_success!(success_headerForwarding, "headerForwarding");
- // import_success!(success_nestedHash, "nestedHash");
- // import_success!(success_noHeaderForwarding, "noHeaderForwarding");
- // import_failure!(failure_alternativeEnv, "alternativeEnv");
- // import_failure!(failure_alternativeEnvMissing, "alternativeEnvMissing");
- // import_failure!(failure_cycle, "cycle");
- // import_failure!(failure_hashMismatch, "hashMismatch");
- // import_failure!(failure_missing, "missing");
- // import_failure!(failure_referentiallyInsane, "referentiallyInsane");
-}