Commit 3b6a4fe4cd

Matt Stancliff <matt@genges.com>
2019-04-18 19:32:44
Fix test in langref to assert against modified var
1 parent a10a1ef
Changed files (1)
doc/langref.html.in
@@ -3128,7 +3128,7 @@ test "while null capture" {
     while (eventuallyNullSequence()) |value| {
         sum2 += value;
     } else {
-        assert(sum1 == 3);
+        assert(sum2 == 3);
     }
 }