diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-01 14:44:24 +0300 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-10-31 13:21:06 +0900 |
commit | fd3873c0a32b4127e3178bf65bf5b114d3ab8de3 (patch) | |
tree | 738429b1a7c4c31a736fafb698699dcd3bb02d5e /tests | |
parent | bbc88248581fb3c7063edd9fae00af5f7d1f18d9 (diff) | |
download | json-fd3873c0a32b4127e3178bf65bf5b114d3ab8de3.tar.gz |
Ignore warnings about ambiguous first argument of regexp with assert match.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/json_common_interface_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/json_common_interface_test.rb b/tests/json_common_interface_test.rb index de88c6e..53f335e 100644 --- a/tests/json_common_interface_test.rb +++ b/tests/json_common_interface_test.rb @@ -27,15 +27,15 @@ class JSONCommonInterfaceTest < Test::Unit::TestCase end def test_parser - assert_match /::Parser\z/, JSON.parser.name + assert_match(/::Parser\z/, JSON.parser.name) end def test_generator - assert_match /::Generator\z/, JSON.generator.name + assert_match(/::Generator\z/, JSON.generator.name) end def test_state - assert_match /::Generator::State\z/, JSON.state.name + assert_match(/::Generator::State\z/, JSON.state.name) end def test_create_id |