summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-25 15:40:56 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-25 17:28:42 +0900
commit81dc37b1b41db9957d783b28cb1a4eaa03a5bd5d (patch)
tree853078a99db6aa51633c69771db2a97da8497ee2 /test/json
parente30d1b0923d79dc55c8b47247cae9e5aa3007459 (diff)
assert_true is not provided by test-unit
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3581
Diffstat (limited to 'test/json')
-rw-r--r--test/json/json_common_interface_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_common_interface_test.rb b/test/json/json_common_interface_test.rb
index 4fdc2b1..6939d4b 100644
--- a/test/json/json_common_interface_test.rb
+++ b/test/json/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