summaryrefslogtreecommitdiff
path: root/bootstraptest/test_syntax.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /bootstraptest/test_syntax.rb
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_syntax.rb')
-rw-r--r--bootstraptest/test_syntax.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb
index ae1488353e..ef1c622ace 100644
--- a/bootstraptest/test_syntax.rb
+++ b/bootstraptest/test_syntax.rb
@@ -110,7 +110,7 @@ assert_equal %q{100}, %q{
end
return arg
end
-
+
test(100)
}
assert_equal %q{ok}, %q{
@@ -169,7 +169,7 @@ assert_equal %q{[:false, :false, :false, :false, :false, :false, :false, :false,
res
end
end
-
+
def each_test
conds = make_perm(['fv', 'tv'], 3)
bangs = make_perm(['', '!'], 3)
@@ -184,10 +184,10 @@ assert_equal %q{[:false, :false, :false, :false, :false, :false, :false, :false,
}
}
end
-
+
fv = false
tv = true
-
+
$ans = []
each_test{|syn, conds, bangs, exprs|
c1, c2, c3 = conds
@@ -695,7 +695,7 @@ assert_equal 'ok', %q{
while true
counter -= 1
break if counter == 0
- next
+ next
redo
end
:ok
@@ -706,7 +706,7 @@ assert_equal 'ok', %q{
while true
counter -= 1
break if counter == 0
- next
+ next
"#{ redo }"
end
:ok