nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: mongodb: Fixed failing test for `aggregate` method.
[nit.git]
/
tests
/
sav
/
test_json_deserialization_alt4.res
diff --git
a/tests/sav/test_json_deserialization_alt4.res
b/tests/sav/test_json_deserialization_alt4.res
index
3c56592
..
ceaeca5
100644
(file)
--- a/
tests/sav/test_json_deserialization_alt4.res
+++ b/
tests/sav/test_json_deserialization_alt4.res
@@
-11,6
+11,9
@@
"n": null
}
"n": null
}
+# Back in Nit:
+<A: true a 0.123 1234 asdf false p4ssw0rd>
+
# Nit:
<B: <A: false b 123.123 2345 hjkl true p4ssw0rd> 1111 qwer>
# Nit:
<B: <A: false b 123.123 2345 hjkl true p4ssw0rd> 1111 qwer>
@@
-26,6
+29,9
@@
"ss": "qwer"
}
"ss": "qwer"
}
+# Back in Nit:
+<B: <A: false b 123.123 2345 hjkl true p4ssw0rd> 1111 qwer>
+
# Nit:
<C: <A: true a 0.123 1234 asdf false p4ssw0rd> <B: <A: false b 123.123 2345 hjkl true p4ssw0rd> 1111 qwer>>
# Nit:
<C: <A: true a 0.123 1234 asdf false p4ssw0rd> <B: <A: false b 123.123 2345 hjkl true p4ssw0rd> 1111 qwer>>
@@
-59,6
+65,9
@@
}
}
}
}
+# Back in Nit:
+<C: <A: true a 0.123 1234 asdf false p4ssw0rd> <B: <A: false b 123.123 2345 hjkl true p4ssw0rd> 1111 qwer>>
+
Serialization warning: Cycle detected in serialized object, replacing reference with 'null'.
# Nit:
<D: <B: <A: false b 123.123 2345 new line ->
Serialization warning: Cycle detected in serialized object, replacing reference with 'null'.
# Nit:
<D: <B: <A: false b 123.123 2345 new line ->
@@
-77,6
+86,10
@@
Serialization warning: Cycle detected in serialized object, replacing reference
"d": null
}
"d": null
}
+# Back in Nit:
+<D: <B: <A: false b 123.123 2345 new line ->
+<- false p4ssw0rd> 1111 f"
\r
\/> false>
+
# Nit:
<E: a: hello, 1234, 123.4; b: hella, 2345, 234.5>
# Nit:
<E: a: hello, 1234, 123.4; b: hella, 2345, 234.5>
@@
-86,22
+99,31
@@
Serialization warning: Cycle detected in serialized object, replacing reference
"b": ["hella", 2345, 234.5]
}
"b": ["hella", 2345, 234.5]
}
+# Back in Nit:
+<E: a: hello, 1234, 123.4; b: hella, 2345, 234.5>
+
# Nit:
# Nit:
-<E: 2222>
+<F: 2222>
# Json:
{
"n": 2222
}
# Json:
{
"n": 2222
}
+# Back in Nit:
+<F: 2222>
+
# Nit:
# Nit:
-<E: 33.33>
+<F: 33.33>
# Json:
{
"n": 33.33
}
# Json:
{
"n": 33.33
}
+# Back in Nit:
+<F: 33.33>
+
# Nit:
<G: hs: -1, 0; s: one, two; hm: one. 1, two. 2; am: three. 3, four. 4>
# Nit:
<G: hs: -1, 0; s: one, two; hm: one. 1, two. 2; am: three. 3, four. 4>
@@
-119,3
+141,8
@@
Serialization warning: Cycle detected in serialized object, replacing reference
}
}
}
}
+# Back in Nit:
+<G: hs: -1, 0; s: ; hm: one. 1, two. 2; am: three. 3, four. 4>
+
+Deserialization Error: Doesn't know how to deserialize class "Set[String]"
+Deserialization Error: Wrong type on `G::s` expected `Set[String]`, got `null`