You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_stream.rb
    path of file: ./repos/ruby-packer/ruby/test/rexml/parser
    
    the code of the file until where you have to start completion: require "test/unit"
requir
    
      def test_no_end_tag
        xml = "<root><sub>"
        exception = assert_raise(REXML::ParseException) do
          parse(xml)
        end
        assert_equal(<<-MESSAGE, exception.to_s)
Missing end tag for '/root/sub'
Line: 1
Position: #{xml.bytesize}
Last 80 unconsumed characters:
        MESSAGE
      end