summary refs log tree commit diff stats
path: root/tests/parser_prop.rs
blob: 8a4cbebfa7451ead7fe588eb546eafd3f562fa3c (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::PatternBuilder::for_pattern(&s).compile();
    }
}