summaryrefslogtreecommitdiff
path: root/dhall/src/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/tests.rs b/dhall/src/tests.rs
index a958e48..76e2e26 100644
--- a/dhall/src/tests.rs
+++ b/dhall/src/tests.rs
@@ -108,7 +108,7 @@ pub fn run_test(
// Round-trip pretty-printer
let expr_string = expr.to_string();
- let expr: Parsed = crate::de::from_str(&expr_string, None)?;
+ let expr: Parsed = Parsed::parse_str(&expr_string)?;
assert_eq!(expr, expected);
return Ok(());