Valentin Gosu 3 anni fa
parent
commit
d000efed75
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      url/tests/data.rs

+ 4 - 4
url/tests/data.rs

@@ -20,17 +20,17 @@ fn urltestdata() {
         .expect("JSON parse error in urltestdata.json");
 
     let mut passed = true;
-    let mut skipNext = false;
+    let mut skip_next = false;
     for entry in json.as_array_mut().unwrap() {
         if entry.is_string() {
             if entry.as_str().unwrap() == "skip next" {
-                skipNext = true;
+                skip_next = true;
             }
             continue; // ignore comments
         }
 
-        if skipNext {
-            skipNext = false;
+        if skip_next {
+            skip_next = false;
             continue;
         }