        desc = "#{encdump s1}.end_with?(#{encdump s2})"
        if !str_enc_compatible?(s1, s2)
          assert_raise(Encoding::CompatibilityError, desc) { s1.end_with?(s2) }
-@@ -1579,7 +1600,7 @@ def test_str_end_with?
+@@ -1585,7 +1606,7 @@ def test_str_end_with?
    end
  
    def test_str_start_with?

       if !s1.ascii_only? && !s2.ascii_only? && s1.encoding != s2.encoding
         assert_raise(Encoding::CompatibilityError) { s1.each_line(s2) {} }
         next
@@ -889,7 +911,7 @@ def test_str_hex
   end
 
   def test_str_include?

       if !s1.ascii_only? && !s2.ascii_only? && s1.encoding != s2.encoding
         assert_raise(Encoding::CompatibilityError) { s1.include?(s2) }
         assert_raise(Encoding::CompatibilityError) { s1.index(s2) }
@@ -1064,7 +1086,7 @@ def test_str_oct
   end
 
   def test_str_replace
