summary refs log tree commit diff stats
path: root/tests/parser_prop.rs
blob: 0b57171833e00f905980b7d090699286f8c0c059 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2021 Soni L.
// SPDX-License-Identifier: MIT OR Apache-2.0

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);
    }
}