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 | 087ff5d6e715094d7c320c7d1d5aee32188e7b11 (patch) | |
tree | 79c8e7b489d83bddfda89ad47b564c8251fb5427 /test/soap/calc/test_calc2.rb | |
parent | 94aa5943bb09d52580041e77d66b93d2d11b763d (diff) | |
download | ruby-087ff5d6e715094d7c320c7d1d5aee32188e7b11.tar.gz |
* 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/trunk@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) |