summaryrefslogtreecommitdiff
path: root/test/soap/marshal
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-24 14:53:17 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-24 14:53:17 +0000
commitdc7549c0b0a54262b5e7939ee88a75557ef4c953 (patch)
tree6242a7dfb94fd3e3baf4f596cddfd896f54253d8 /test/soap/marshal
parent8b279c0ddbcf417230b7e3fa08ca020bb8f309ad (diff)
* test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb
test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0" to express -0.0. [ruby-talk:88786] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap/marshal')
-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