summaryrefslogtreecommitdiff
path: root/serde_dhall/tests/traits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall/tests/traits.rs')
-rw-r--r--serde_dhall/tests/traits.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/serde_dhall/tests/traits.rs b/serde_dhall/tests/traits.rs
index 3c6fbfe..ed768c1 100644
--- a/serde_dhall/tests/traits.rs
+++ b/serde_dhall/tests/traits.rs
@@ -54,7 +54,7 @@ fn test_static_type() {
enum E<T> {
A(T),
B(String),
- };
+ }
assert_eq!(<E<bool>>::static_type(), parse("< A: Bool | B: Text >"));
#[derive(StaticType)]
@@ -62,6 +62,6 @@ fn test_static_type() {
enum F {
A,
B(bool),
- };
+ }
assert_eq!(F::static_type(), parse("< A | B: Bool >"));
}