From 3b6a4fe4cd0800b7078953d56156475f699751f1 Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Thu, 18 Apr 2019 13:32:44 -0400 Subject: [PATCH] Fix test in langref to assert against modified var --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index cf12894ca6..95c1d2eee0 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -3128,7 +3128,7 @@ test "while null capture" { while (eventuallyNullSequence()) |value| { sum2 += value; } else { - assert(sum1 == 3); + assert(sum2 == 3); } }