tests: import lazy_static as needed
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
6285b251e7
commit
a4f9188300
|
@ -695,6 +695,8 @@ fn test_query_string() {
|
||||||
assert!(res.is_ok());
|
assert!(res.is_ok());
|
||||||
|
|
||||||
// TEST regex pattern
|
// TEST regex pattern
|
||||||
|
|
||||||
|
use lazy_static::lazy_static;
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref TEST_REGEX: Regex = Regex::new("test").unwrap();
|
static ref TEST_REGEX: Regex = Regex::new("test").unwrap();
|
||||||
static ref TEST2_REGEX: Regex = Regex::new("^test$").unwrap();
|
static ref TEST2_REGEX: Regex = Regex::new("^test$").unwrap();
|
||||||
|
|
Loading…
Reference in New Issue