Merge: Fix warnings in the JSON, SAX and SAXophoNit libraries and in the `neo_doxygen...
[nit.git] / lib / json / dynamic.nit
index 578afb1..1ee3ce7 100644 (file)
@@ -82,8 +82,8 @@ class JsonValue
        #
        # require: `self.is_numeric`
        #
-       #     assert "1.234".to_json_value.to_numeric = 1.234
-       #     assert "1234".to_json_value.to_numeric = 1234
+       #     assert "1.234".to_json_value.to_numeric == 1.234
+       #     assert "1234".to_json_value.to_numeric == 1234
        fun to_numeric: Numeric
        do
                if is_int then return to_i