File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,22 @@ test_new(RegexpSingletonTest)
5151test_collection_install__pathname_set(RBS::CliTest)
5252test_collection_install__set_pathname__manifest(RBS::CliTest)
5353
54+ # json-schema passes the obsolete `quirks_mode` parameter, but json gem v3 rejects it
55+ RBS::SchemaTest
56+
57+ # RBS 4.0.3's JSON tests use APIs removed or changed in json gem v3
58+ test_dump(JSONInstanceTest)
59+ test_parse(JSONInstanceTest)
60+ test_parse!(JSONInstanceTest)
61+ test_create_id(JSONSingletonTest)
62+ test_create_id_eq(JSONSingletonTest)
63+ test_dump(JSONSingletonTest)
64+ test_load(JSONSingletonTest)
65+ test_load_file(JSONSingletonTest)
66+ test_load_file!(JSONSingletonTest)
67+ test_parse(JSONSingletonTest)
68+ test_parse!(JSONSingletonTest)
69+
5470# RBS 4.0.3's RDoc plugin is incompatible with the RDoc 7.2.0 development revision
5571test_attr_decl_1(RDocPluginParserTest)
5672test_attr_decl_2(RDocPluginParserTest)
Original file line number Diff line number Diff line change 9595
9696 case gem
9797 when "rbs"
98- # TODO: We should skip test file instead of test class/methods
98+ # json gem v3 removed JSON additions.
9999 skip_test_files = %w[
100+ test/stdlib/json/JSONBigDecimal_test.rb
101+ test/stdlib/json/JSONComplex_test.rb
102+ test/stdlib/json/JSONDateTime_test.rb
103+ test/stdlib/json/JSONDate_test.rb
104+ test/stdlib/json/JSONException_test.rb
105+ test/stdlib/json/JSONOpenStruct_test.rb
106+ test/stdlib/json/JSONRange_test.rb
107+ test/stdlib/json/JSONRational_test.rb
108+ test/stdlib/json/JSONRegexp_test.rb
109+ test/stdlib/json/JSONSet_test.rb
110+ test/stdlib/json/JSONStruct_test.rb
111+ test/stdlib/json/JSONSymbol_test.rb
112+ test/stdlib/json/JSONTime_test.rb
100113 ]
101114
102115 skip_test_files . each do |file |
You can’t perform that action at this time.
0 commit comments