summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-19 15:11:37 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-19 15:11:37 +0000
commit5aaabd1f15cdc026ce2c7fdc704351238c6ea7ef (patch)
treea4e4bf48218c09699671ae8cb324b635f76f4964 /test
parent96a6606400005c0bb313ded58101b669fd77b837 (diff)
downloadruby-5aaabd1f15cdc026ce2c7fdc704351238c6ea7ef.tar.gz
ruby-5aaabd1f15cdc026ce2c7fdc704351238c6ea7ef.tar.xz
ruby-5aaabd1f15cdc026ce2c7fdc704351238c6ea7ef.zip
* test/drb/drbtest.rb (test_07_public_private_protected_missing):
followed current Ruby specification. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/drb/drbtest.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index d2c96f05c..143d856a1 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -179,7 +179,7 @@ module DRbCore
def test_07_public_private_protected_missing
assert_nothing_raised() {
begin
- @there.method_missing(:eval)
+ @there.method_missing(:eval, 'nil')
rescue NoMethodError
assert_match(/^private method \`eval\'/, $!.message)
end
@@ -208,7 +208,7 @@ module DRbCore
assert_match(/^undefined method \`undefined_method_test\'/, $!.message)
end
}
- assert_raises(SecurityError) do
+ assert_raises(DRb::DRbConnError) do
@there.method_missing(:__send__, :to_s)
end
assert_equal(true, @there.missing)