]> git.proxmox.com Git - proxmox-backup.git/commitdiff
tests: import lazy_static as needed
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 31 Jan 2019 14:03:48 +0000 (15:03 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 1 Feb 2019 09:41:54 +0000 (10:41 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/api/schema.rs

index 00cacade691ddec5d0ae512650b20020581f2f97..3e671004e046172aa8a5cc29a1903ff632ecd7a8 100644 (file)
@@ -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();