aboutsummaryrefslogtreecommitdiffstats
path: root/test/soap/marshal/test_marshal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/soap/marshal/test_marshal.rb')
-rw-r--r--test/soap/marshal/test_marshal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb
index 9ae08c68d8..d530c06c24 100644
--- a/test/soap/marshal/test_marshal.rb
+++ b/test/soap/marshal/test_marshal.rb
@@ -205,7 +205,7 @@ module MarshalTestLib
marshal_equal(1.0/0.0)
marshal_equal(-1.0/0.0)
marshal_equal(0.0/0.0) {|o| o.nan?}
- marshal_equal(-0.0) {|o| 1.0/o}
+ marshal_equal(-1.0 / (1.0 / 0.0)) {|o| 1.0/o} # -0.0
end
def test_float_ivar