summaryrefslogtreecommitdiff
path: root/test/test_delegate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_delegate.rb')
-rw-r--r--test/test_delegate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_delegate.rb b/test/test_delegate.rb
index 7f6e7c1..a8e938c 100644
--- a/test/test_delegate.rb
+++ b/test/test_delegate.rb
@@ -190,7 +190,7 @@ class TestDelegateClass < Test::Unit::TestCase
assert_equal([], d.bar)
assert_equal([[], {:a=>1}], d.foo(:a=>1))
assert_equal([{:a=>1}], d.bar(:a=>1))
- assert_warn(/The last argument is used as the keyword parameter.* for `foo'/m) do
+ assert_warn(/The last argument is used as keyword parameters.*The called method `foo'/m) do
assert_equal([[], {:a=>1}], d.foo({:a=>1}))
end
assert_equal([{:a=>1}], d.bar({:a=>1}))