X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/test_json_deserialization_plain.res b/tests/sav/test_json_deserialization_plain.res index ef8399f..8487e43 100644 --- a/tests/sav/test_json_deserialization_plain.res +++ b/tests/sav/test_json_deserialization_plain.res @@ -11,7 +11,6 @@ # Nit: > # JSON: {"__class": "MyClass", "i": 123, "s": "hello", "f": 123.456, "a": ["one", "two"]} -# Errors: 'Deserialization Error: JSON object has not attribute 'o'.' # Nit: > # JSON: {"__class": "MyClass", "i": 123, "s": "hello", "f": 123.456, "a": ["one", "two"], "o": @@ -19,14 +18,14 @@ # Nit: >> # JSON: {"i": 123, "s": "hello", "f": 123.456, "a": ["one", "two"], "o": null} -# Errors: 'Serialization Error: JSON object declaration does not declare a `__class`.' +# Errors: 'Deserialization Error: JSON object declaration does not declare a `__class`.' # Nit: > # JSON: {"__class": "MyClass", "i": 123, "s": "hello", "f": 123.456, "a": ["one", "two"], "o": "Not the right type"} -# Errors: 'Deserialization Error: Wrong type on `MyClass::o` expected `nullable MyClass`, got `FlatString`' +# Errors: 'Deserialization Error: Wrong type on `MyClass::o` expected `nullable MyClass`, got `ASCIIFlatString`' # Nit: > # JSON: not valid json -# Errors: 'Error Parsing JSON: [1:1-1:2] Unexpected character 'n'; is acceptable instead: value' +# Errors: 'Error: bad JSON entity' # Nit: null