summaryrefslogtreecommitdiff
path: root/serde_dhall/tests
diff options
context:
space:
mode:
authorCeri Storey2021-03-27 09:48:05 +0000
committerCeri Storey2021-03-27 10:51:05 +0000
commit87c120d6b728099cffc547d340ea4c4cc304acf9 (patch)
tree903c730a8b2190e1cec611487057b7099b2e06b1 /serde_dhall/tests
parentec8ca29920d975ebcee6ecc290bc70be4e7e8fa9 (diff)
Remove a redundant semicolon in a test for good measure.
Diffstat (limited to 'serde_dhall/tests')
-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 >"));
}