nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modelize: Get most specific init from mclass hierarchy
[nit.git]
/
tests
/
test_deserialization.nit
diff --git
a/tests/test_deserialization.nit
b/tests/test_deserialization.nit
index
478f9d0
..
c0f1045
100644
(file)
--- a/
tests/test_deserialization.nit
+++ b/
tests/test_deserialization.nit
@@
-79,7
+79,7
@@
class F[N: Numeric]
var n: N
var n: N
- redef fun to_s do return "<E: {n}>"
+ redef fun to_s do return "<F: {n}>"
end
# Other collections
end
# Other collections
@@
-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