diff options
author | Nadrieril | 2020-11-01 16:10:00 +0000 |
---|---|---|
committer | Nadrieril | 2020-11-01 17:36:49 +0000 |
commit | 66ea301fc25a07485286560c434a9fdaf460c431 (patch) | |
tree | a0bc78be155be39e3da0ad5f61d7255057f8747a /dhall/tests | |
parent | 2c245e7f5ce4019381e0fa47a1e2caf6276106be (diff) |
Untangle caching code
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/spec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/tests/spec.rs b/dhall/tests/spec.rs index 8d67892..ae53f4a 100644 --- a/dhall/tests/spec.rs +++ b/dhall/tests/spec.rs @@ -670,7 +670,7 @@ fn run_test(test: &SpecTest) -> Result<()> { } SemanticHash => { let expr = expr.normalize()?.to_expr_alpha(); - let hash = hex::encode(expr.hash()?); + let hash = hex::encode(expr.sha256_hash()?); expected.compare_ui(format!("sha256:{}", hash))?; } TypeInferenceSuccess => { |