diff options
author | Nadrieril | 2020-03-31 20:25:02 +0100 |
---|---|---|
committer | GitHub | 2020-03-31 20:25:02 +0100 |
commit | 5a5aa49e64197899006751db72e404f4b2292d4e (patch) | |
tree | 0b62e961c1de99ce9a78c4775ce8eab047cdf768 /serde_dhall/tests | |
parent | eecd41fe5dd155752aaaa06af02bc32f8a416ba5 (diff) | |
parent | e12fb2928307d240461e749e5d371cef17cf520c (diff) |
Merge pull request #156 from Nadrieril/fix-155
Fix #155
Diffstat (limited to '')
-rw-r--r-- | serde_dhall/tests/de.rs | 3 |
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()); } |