summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--serde_dhall/tests/de.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/serde_dhall/tests/de.rs b/serde_dhall/tests/de.rs
index 41a44bd..74912dd 100644
--- a/serde_dhall/tests/de.rs
+++ b/serde_dhall/tests/de.rs
@@ -82,4 +82,7 @@ fn test_de_untyped() {
parse::<BTreeMap<String, usize>>("{ x = 1, y = 2 }"),
expected_map
);
+
+ // https://github.com/Nadrieril/dhall-rust/issues/155
+ assert!(from_str::<bool>("List/length [True, 42]").is_err());
}