summaryrefslogtreecommitdiff
path: root/test/ruby
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 /test/ruby
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 'test/ruby')
-rw-r--r--test/ruby/test_marshal.rb2
-rw-r--r--test/ruby/test_module.rb2
-rw-r--r--test/ruby/test_super.rb2
-rw-r--r--test/ruby/test_time.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index b7f1a0093b..3eebbfafca 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -462,7 +462,7 @@ class TestMarshal < Test::Unit::TestCase
attr_reader :foo
end
private_constant :PrivateClass
-
+
def test_marshal_private_class
o1 = PrivateClass.new("test")
o2 = Marshal.load(Marshal.dump(o1))
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index 10b2708804..0dcfeccef9 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -141,7 +141,7 @@ class TestModule < Test::Unit::TestCase
:bClass3
end
end
-
+
class CClass < BClass
def self.cClass
end
diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb
index 66faa70a76..743b71d73f 100644
--- a/test/ruby/test_super.rb
+++ b/test/ruby/test_super.rb
@@ -146,7 +146,7 @@ class TestSuper < Test::Unit::TestCase
@first or fail
end
- def subseq
+ def subseq
@first or fail
end
end
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index 838a7692f7..6a00b99443 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -176,7 +176,7 @@ class TestTime < Test::Unit::TestCase
t = Time.at(2**40 + "1/3".to_r, 9999999999999).utc
assert_equal(36812, t.year)
-
+
t = Time.at(-0x3fff_ffff_ffff_ffff)
assert_equal(-146138510344, t.year)
t = Time.at(-0x4000_0000_0000_0000)