mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
assert_true is not provided by test-unit
This commit is contained in:
parent
e30d1b0923
commit
81dc37b1b4
Notes:
git
2020-09-25 17:29:09 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue