Fix lint in tests folder.
This commit is contained in:
parent
4d231d988a
commit
84b5057b8e
@ -1,6 +1,7 @@
|
||||
#![cfg(feature = "regex_support")]
|
||||
|
||||
use evalexpr::*;
|
||||
use std::panic::panic_any;
|
||||
|
||||
#[test]
|
||||
fn test_regex_functions() {
|
||||
@ -17,7 +18,7 @@ fn test_regex_functions() {
|
||||
assert_eq!(regex, "[");
|
||||
assert!(message.contains("unclosed character class"));
|
||||
},
|
||||
v => panic!(v),
|
||||
v => panic_any!(v),
|
||||
};
|
||||
assert_eq!(
|
||||
eval("str::regex_replace(\"foobar\", \".*?(o+)\", \"b$1\")"),
|
||||
|
Loading…
Reference in New Issue
Block a user