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_syntax_error.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/test/xml
    
    the code of the file until where you have to start completion: require "helper"

module Nokogiri
  module XML
    class TestSyntaxError < Nokogiri::TestCase
      def test_new
        error = Nokogiri::XML::SyntaxError.new '
    
      def test_line_column_level_libxml
        skip unless Nokogiri.uses_libxml?

        bad_doc = Nokogiri::XML('test')
        error = bad_doc.errors.first

        assert_equal "1:1: FATAL: Start tag expected, '<' not found", error.message
        assert_equal 1, error.line
        assert_equal 1, error.column
        assert_equal 3, error.level
      end