Format value with debug formatter in panic.
This commit is contained in:
parent
9e239cb0d8
commit
d4812ef6e4
@ -17,7 +17,7 @@ fn test_regex_functions() {
|
||||
assert_eq!(regex, "[");
|
||||
assert!(message.contains("unclosed character class"));
|
||||
},
|
||||
v => panic!("{}", v),
|
||||
v => panic!("{:?}", v),
|
||||
};
|
||||
assert_eq!(
|
||||
eval("str::regex_replace(\"foobar\", \".*?(o+)\", \"b$1\")"),
|
||||
|
Loading…
Reference in New Issue
Block a user