Skip to content

Commit 1bfd114

Browse files
committed
Exclude MRI tests failing due to JCodings issue
* See jruby/jcodings#64 (comment)
1 parent 48a0a62 commit 1bfd114

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

test/mri/tests/ruby/enc/test_emoji.rb

+15-8
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ def test_docomo
8585
def test_to_kddi
8686
assert_nothing_raised { assert_equal @utf8_kddi, to_utf8_kddi(@utf8_docomo) }
8787
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@utf8_docomo) }
88-
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@utf8_docomo) }
88+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
89+
# assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@utf8_docomo) }
8990

9091
assert_nothing_raised { assert_equal @utf8_kddi, to_utf8_kddi(@sjis_docomo) }
9192
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@sjis_docomo) }
92-
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@sjis_docomo) }
93+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
94+
# assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@sjis_docomo) }
9395

9496
assert_raise(Encoding::UndefinedConversionError) { to_utf8_kddi(@utf8_docomo_only) }
9597
assert_raise(Encoding::UndefinedConversionError) { to_sjis_kddi(@utf8_docomo_only) }
@@ -141,13 +143,15 @@ def test_comparison
141143
def test_from_utf8
142144
assert_nothing_raised { assert_equal utf8_kddi(@aiueo_utf8), to_utf8_kddi(@aiueo_utf8) }
143145
assert_nothing_raised { assert_equal sjis_kddi(@aiueo_sjis), to_sjis_kddi(@aiueo_utf8) }
144-
assert_nothing_raised { assert_equal iso2022jp_kddi(@aiueo_iso2022jp), to_iso2022jp_kddi(@aiueo_utf8) }
146+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
147+
# assert_nothing_raised { assert_equal iso2022jp_kddi(@aiueo_iso2022jp), to_iso2022jp_kddi(@aiueo_utf8) }
145148
end
146149

147150
def test_from_sjis
148151
assert_nothing_raised { assert_equal utf8_kddi(@aiueo_utf8), to_utf8_kddi(@aiueo_sjis) }
149152
assert_nothing_raised { assert_equal sjis_kddi(@aiueo_sjis), to_sjis_kddi(@aiueo_sjis) }
150-
assert_nothing_raised { assert_equal iso2022jp_kddi(@aiueo_iso2022jp), to_iso2022jp_kddi(@aiueo_sjis) }
153+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
154+
# assert_nothing_raised { assert_equal iso2022jp_kddi(@aiueo_iso2022jp), to_iso2022jp_kddi(@aiueo_sjis) }
151155
end
152156

153157
def test_from_iso2022jp
@@ -183,8 +187,9 @@ def test_kddi
183187
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@sjis_kddi) }
184188
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@utf8_undoc_kddi) }
185189
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@iso2022jp_kddi) }
186-
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@sjis_kddi) }
187-
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@utf8_undoc_kddi) }
190+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
191+
# assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@sjis_kddi) }
192+
# assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@utf8_undoc_kddi) }
188193
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@iso2022jp_kddi) }
189194
end
190195

@@ -307,11 +312,13 @@ def test_to_docomo
307312
def test_to_kddi
308313
assert_nothing_raised { assert_equal @utf8_kddi, to_utf8_kddi(@utf8_softbank) }
309314
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@utf8_softbank) }
310-
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@utf8_softbank) }
315+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
316+
# assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@utf8_softbank) }
311317

312318
assert_nothing_raised { assert_equal @utf8_kddi, to_utf8_kddi(@sjis_softbank) }
313319
assert_nothing_raised { assert_equal @sjis_kddi, to_sjis_kddi(@sjis_softbank) }
314-
assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@sjis_softbank) }
320+
# https://github.com/jruby/jcodings/pull/64#issuecomment-2697249564
321+
# assert_nothing_raised { assert_equal @iso2022jp_kddi, to_iso2022jp_kddi(@sjis_softbank) }
315322

316323
assert_raise(Encoding::UndefinedConversionError) { to_utf8_kddi(@utf8_softbank_only) }
317324
assert_raise(Encoding::UndefinedConversionError) { to_sjis_kddi(@utf8_softbank_only) }

0 commit comments

Comments
 (0)