summaryrefslogtreecommitdiffhomepage
path: root/test/t
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2014-04-30 09:50:14 +0900
committerNobuyoshi Nakada <[email protected]>2014-04-30 09:50:14 +0900
commitab67c57f652c7c3a64ec4f4dc73259a14fb1b545 (patch)
treed9535d70ba74920783864fa6372ec471aca5af91 /test/t
parent345f172bba2dc5a6df607dded5c4b95b0e68f9bf (diff)
downloadmruby-ab67c57f652c7c3a64ec4f4dc73259a14fb1b545.tar.gz
mruby-ab67c57f652c7c3a64ec4f4dc73259a14fb1b545.zip
remove trailing spaces
Diffstat (limited to 'test/t')
-rw-r--r--test/t/hash.rb2
-rw-r--r--test/t/methods.rb2
-rw-r--r--test/t/module.rb12
3 files changed, 8 insertions, 8 deletions
diff --git a/test/t/hash.rb b/test/t/hash.rb
index 8a10f4026..2ddd33316 100644
--- a/test/t/hash.rb
+++ b/test/t/hash.rb
@@ -235,7 +235,7 @@ assert('Hash#replace', '15.2.13.4.23') do
b = {}
b.replace(a)
assert_equal(42, b[1])
-
+
a = Hash.new{|h,x| x}
b.replace(a)
assert_equal(127, b[127])
diff --git a/test/t/methods.rb b/test/t/methods.rb
index bbd8ee09d..f9c25dc33 100644
--- a/test/t/methods.rb
+++ b/test/t/methods.rb
@@ -65,7 +65,7 @@ assert('The undef statement', '13.3.7 a) 4)') do
assert_true(existing_method_e, 'Method should be defined')
assert_true(existing_method_f, 'Method should be defined')
- # undefine in all possible ways and check that method
+ # undefine in all possible ways and check that method
# is undefined
undef existing_method_a
diff --git a/test/t/module.rb b/test/t/module.rb
index 48a09f720..585774a4b 100644
--- a/test/t/module.rb
+++ b/test/t/module.rb
@@ -485,19 +485,19 @@ end
assert('Issue 1467') do
module M1
def initialize()
- super()
+ super()
end
end
- class C1
- include M1
- def initialize()
- super()
+ class C1
+ include M1
+ def initialize()
+ super()
end
end
class C2
- include M1
+ include M1
end
C1.new