From 9751d852c005606447dac7bb17f1a56593014583 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 dd64253907c..f83440d2728 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_unless_libxml2("ultra hard to fix for pure Java version") - @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