summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_marshal.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 11:28:27 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-05 11:28:27 +0000
commit8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0 (patch)
treef76634ece5171d4b04d427a6a19a1d2d92ef47d8 /test/ruby/test_marshal.rb
parent02b0891d4e3c26c9a64e647e3becf125c517bc7a (diff)
downloadruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.tar.gz
ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.tar.xz
ruby-8dfb9869b6ed065dfbdc45ea0e5a5f305facbfc0.zip
* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_marshal.rb')
-rw-r--r--test/ruby/test_marshal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 5564fd1e7..7058c428e 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -26,7 +26,7 @@ class TestMarshal < Test::Unit::TestCase
a = (x.to_f + y.to_f / z.to_f) * Math.exp(w.to_f / (x.to_f + y.to_f / z.to_f))
ma = Marshal.dump(a)
b = Marshal.load(ma)
- assert(a == b)
+ assert_equal(a, b)
}
end
end