diff --git a/tests/w1_2.rs b/tests/w1_2.rs
index c29830ac008ffb76eb8a6d7cf61ba2400aa108a5..96aa0818dd7401acc1dc74d54ba184bf05be039a 100644
--- a/tests/w1_2.rs
+++ b/tests/w1_2.rs
@@ -61,7 +61,7 @@ fn _if_then_else_and_while() {
         let mut c: i32 = 1;
         while (b < 10) {
             c = c * 2;
-        }
+        }; // added ";" here... to make parsing easier, it is still valid Rust though
         c
     }
 }