# File tests/treeparsertester.rb, line 111 def test_bad_nesting expect_error("<line1>\n<bad>\n<nesting></bad>", /end tag 'bad' does not match last-seen start tag named 'nesting'/, 3) end