diff options
author | Nadrieril | 2019-08-12 23:24:48 +0200 |
---|---|---|
committer | Nadrieril | 2019-08-13 14:24:56 +0200 |
commit | 52f9ecfc4dac65d305fd920e8c7f748889a0804f (patch) | |
tree | 106a54c066d1a38e99a73644f0b8f20df280b7e7 /serde_dhall/tests | |
parent | 7d17d39005531cb77d8eaf32ed7de8938c66f874 (diff) |
Move api into its own crate
Diffstat (limited to '')
-rw-r--r-- | serde_dhall/tests/traits.rs (renamed from dhall/tests/traits.rs) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall/tests/traits.rs b/serde_dhall/tests/traits.rs index 0f75553..99f1109 100644 --- a/dhall/tests/traits.rs +++ b/serde_dhall/tests/traits.rs @@ -1,5 +1,5 @@ #![feature(proc_macro_hygiene)] -use dhall::de::{from_str, StaticType, Type}; +use serde_dhall::de::{from_str, StaticType, Type}; #[test] fn test_static_type() { @@ -15,14 +15,14 @@ fn test_static_type() { parse("{ _1: Bool, _2: List Text }") ); - #[derive(dhall::de::StaticType)] + #[derive(serde_dhall::de::StaticType)] #[allow(dead_code)] struct A { field1: bool, field2: Option<bool>, } assert_eq!( - <A as dhall::de::StaticType>::static_type(), + <A as serde_dhall::de::StaticType>::static_type(), parse("{ field1: Bool, field2: Optional Bool }") ); |