Skip to content

Commit 94e4029

Browse files
authored
Merge branch 'master' into zjit-ssa
2 parents 5dac316 + 6389c9b commit 94e4029

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

tool/rbs_skip_tests

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,22 @@ test_new(RegexpSingletonTest)
5151
test_collection_install__pathname_set(RBS::CliTest)
5252
test_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
5571
test_attr_decl_1(RDocPluginParserTest)
5672
test_attr_decl_2(RDocPluginParserTest)

tool/test-bundled-gems.rb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,21 @@
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|

0 commit comments

Comments
 (0)