[svn:parrot] r46832 - trunk/examples/languages/squaak/t
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu May 20 21:46:27 UTC 2010
Author: bacek
Date: Thu May 20 21:46:26 2010
New Revision: 46832
URL: https://trac.parrot.org/parrot/changeset/46832
Log:
Update tests to avoid multiple declarations of variables. Closes #1651
Modified:
trunk/examples/languages/squaak/t/00-sanity.t
Modified: trunk/examples/languages/squaak/t/00-sanity.t
==============================================================================
--- trunk/examples/languages/squaak/t/00-sanity.t Thu May 20 21:34:57 2010 (r46831)
+++ trunk/examples/languages/squaak/t/00-sanity.t Thu May 20 21:46:26 2010 (r46832)
@@ -88,7 +88,6 @@
# for-statement
-var i = 1
for var i = 18, 20 do
print("ok ", i)
@@ -104,11 +103,11 @@
#end
-i = 0
-while i < 5 do
+var j = 0
+while j < 5 do
- print("ok ", i + g)
- i = i + 1
+ print("ok ", j + g)
+ j = j + 1
end
More information about the parrot-commits
mailing list