summaryrefslogtreecommitdiff
path: root/test/ostruct
diff options
context:
space:
mode:
Diffstat (limited to 'test/ostruct')
-rw-r--r--test/ostruct/test_ostruct.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb
index 70335f44af..14bc2b2da8 100644
--- a/test/ostruct/test_ostruct.rb
+++ b/test/ostruct/test_ostruct.rb
@@ -131,8 +131,8 @@ class TC_OpenStruct < Test::Unit::TestCase
e = assert_raise(NoMethodError) { os.foo true }
assert_equal :foo, e.name
assert_equal [true], e.args
- assert_match /#{__callee__}/, e.backtrace[0]
+ assert_match(/#{__callee__}/, e.backtrace[0])
e = assert_raise(ArgumentError) { os.send :foo=, true, true }
- assert_match /#{__callee__}/, e.backtrace[0]
+ assert_match(/#{__callee__}/, e.backtrace[0])
end
end