From 458c3241db78ac2ee2be061eb1c738742e21d0ee Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Thu, 13 May 2021 22:50:39 -0400 Subject: [PATCH] test: remove low-value HTML::SAX::PushParser encoding test --- test/html/sax/test_push_parser.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/html/sax/test_push_parser.rb b/test/html/sax/test_push_parser.rb index dd6425390..f83440d27 100644 --- a/test/html/sax/test_push_parser.rb +++ b/test/html/sax/test_push_parser.rb @@ -70,17 +70,6 @@ def test_chevron def test_default_options assert_equal 0, @parser.options end - - def test_broken_encoding - skip("ultra hard to fix for pure Java version") if Nokogiri.jruby? - @parser.options |= XML::ParseOptions::RECOVER - # This is ISO_8859-1: - @parser.<< "Gau\337" - @parser.finish - assert(@parser.document.errors.size >= 1) - assert_equal "Gau\337", @parser.document.data.join - assert_equal [["r"], ["body"], ["html"]], @parser.document.end_elements - end end end end