nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nitunit: use `test` annotation for classdefs
[nit.git]
/
tests
/
test_deserialization.nit
diff --git
a/tests/test_deserialization.nit
b/tests/test_deserialization.nit
index
2228810
..
527821b
100644
(file)
--- a/
tests/test_deserialization.nit
+++ b/
tests/test_deserialization.nit
@@
-24,7
+24,7
@@
class A
var c: Char
var f: Float
var i: Int
var c: Char
var f: Float
var i: Int
- var s: String
+ var s: String is serialize_as "serialization_specific_name"
var n: nullable Int
var password = "p4ssw0rd" is lazy, noserialize
var n: nullable Int
var password = "p4ssw0rd" is lazy, noserialize
@@
-125,5
+125,5
@@
class TestEntities
var with_generics: Array[Serializable] = [a, b, c, d, e, fi, ff, g: Serializable]
end
var with_generics: Array[Serializable] = [a, b, c, d, e, fi, ff, g: Serializable]
end
-# We instanciate it here so that `nitserial` detects generic types as being alive
+# We instantiate it here so that `nitserial` detects generic types as being alive
var entities = new TestEntities
var entities = new TestEntities