diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-25 15:40:56 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-11-12 21:44:36 +0900 |
commit | 1172b6e2185e95caf577df8aa213d6740569d274 (patch) | |
tree | 49b9e3f72a8a9091bb8ef6810852a6f6abc31a73 /tests | |
parent | 6a97ad2795d1aa2d5c36b980d40d5b92a52061e1 (diff) | |
download | json-1172b6e2185e95caf577df8aa213d6740569d274.tar.gz |
assert_true is not provided by test-unit
Diffstat (limited to 'tests')
-rw-r--r-- | tests/json_common_interface_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json_common_interface_test.rb b/tests/json_common_interface_test.rb index 4fdc2b1..6939d4b 100644 --- a/tests/json_common_interface_test.rb +++ b/tests/json_common_interface_test.rb @@ -152,7 +152,7 @@ class JSONCommonInterfaceTest < Test::Unit::TestCase temp_file_containing(@json) do |filespec| parsed_object = JSON.public_send(method_name, filespec, symbolize_names: true) key_classes = parsed_object.keys.map(&:class) - assert_true key_classes.include?(Symbol) && (! key_classes.include?(String)) + assert key_classes.include?(Symbol) && (! key_classes.include?(String)) end end |