manual: CI check with nitunit
[nit.git] / lib / sax / sax_parse_exception.nit
index ae2586b..5f780f4 100644 (file)
@@ -45,11 +45,11 @@ class SAXParseException
 
        # The line number of the end of the text that
        # caused the error or warning, or -1.
-       var line_number: Int = -1
+       var line_number = -1
 
        # The column number of the end of the text that
        # caused the error or warning, or -1.
-       var column_number: Int = -1
+       var column_number = -1
 
        # Create a new SAXParseException from a message and a Locator.
        #
@@ -88,7 +88,7 @@ class SAXParseException
        # caused the error or warning.
        # * `column_number`: column number of the end of the text that
        # caused the error or warning.
-       init with(message: String, public_id: nullable String,
+       init with_info(message: String, public_id: nullable String,
                        system_id: nullable String, line_number: Int, column_number: Int) do
                init(message)
                self.public_id = public_id