diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-23 15:40:01 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-23 15:40:01 +0000 |
commit | bc315949ed40734b23625e4d0ef3f71824658fc8 (patch) | |
tree | afd76f48e18d1f0f118e0bb22b45b56dfa2ec381 /test/soap/calc/test_calc2.rb | |
parent | 4e8ec8f2fab63ddc6f873747aa3fc48b943e5c54 (diff) |
* test/soap/calc: method name 'set' was able to crash with a class Set.
[ruby-dev:26210]
* test/wsdl/document/test_rpc.rb: dateTime comparison failed under
TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap/calc/test_calc2.rb')
-rw-r--r-- | test/soap/calc/test_calc2.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/soap/calc/test_calc2.rb b/test/soap/calc/test_calc2.rb index 8d6180e99e..f334b29bdb 100644 --- a/test/soap/calc/test_calc2.rb +++ b/test/soap/calc/test_calc2.rb @@ -20,8 +20,8 @@ class TestCalc2 < Test::Unit::TestCase @endpoint = "http://localhost:#{Port}/" @var = SOAP::RPC::Driver.new(@endpoint, 'http://tempuri.org/calcService') @var.wiredump_dev = STDERR if $DEBUG - @var.add_method('set', 'newValue') - @var.add_method('get') + @var.add_method('set_value', 'newValue') + @var.add_method('get_value') @var.add_method_as('+', 'add', 'rhs') @var.add_method_as('-', 'sub', 'rhs') @var.add_method_as('*', 'multi', 'rhs') @@ -36,7 +36,7 @@ class TestCalc2 < Test::Unit::TestCase end def test_calc2 - assert_equal(1, @var.set(1)) + assert_equal(1, @var.set_value(1)) assert_equal(3, @var + 2) assert_equal(-1.2, @var - 2.2) assert_equal(2.2, @var * 2.2) |