summary refs log tree commit diff stats
path: root/tests/parser_prop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser_prop.rs')
-rw-r--r--tests/parser_prop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parser_prop.rs b/tests/parser_prop.rs
index 0b57171..8a4cbeb 100644
--- a/tests/parser_prop.rs
+++ b/tests/parser_prop.rs
@@ -6,6 +6,6 @@ use proptest::prelude::*;
 proptest! {
     #[test]
     fn doesnt_panic(s in "\\PC*") {
-        let _ = datafu::Pattern::<Box<dyn erased_serde::Serialize>>::compile::<&str, &str>(&s, None, None);
+        let _ = datafu::PatternBuilder::for_pattern(&s).compile();
     }
 }