From a4f918830015ccf6ee679d5974b4c5cea4c62798 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 31 Jan 2019 15:03:48 +0100 Subject: [PATCH] tests: import lazy_static as needed Signed-off-by: Wolfgang Bumiller --- src/api/schema.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/schema.rs b/src/api/schema.rs index 00cacade..3e671004 100644 --- a/src/api/schema.rs +++ b/src/api/schema.rs @@ -695,6 +695,8 @@ fn test_query_string() { assert!(res.is_ok()); // TEST regex pattern + + use lazy_static::lazy_static; lazy_static! { static ref TEST_REGEX: Regex = Regex::new("test").unwrap(); static ref TEST2_REGEX: Regex = Regex::new("^test$").unwrap();