tests: Updated sav for two tests whose behaviour have been corrected with the previou...
authorLucas Bajolet <r4pass@hotmail.com>
Tue, 9 Dec 2014 18:35:18 +0000 (13:35 -0500)
committerLucas Bajolet <r4pass@hotmail.com>
Wed, 10 Dec 2014 19:24:56 +0000 (14:24 -0500)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

tests/sav/nitserial_args1.res
tests/sav/test_exec.res

index e95605c..62be912 100644 (file)
@@ -8,10 +8,10 @@ import serialization
 redef class Deserializer
        redef fun deserialize_class(name)
        do
+               if name == "Array[Object]" then return new Array[Object].from_deserializer(self)
                if name == "Array[nullable Object]" then return new Array[nullable Object].from_deserializer(self)
                if name == "Array[Serializable]" then return new Array[Serializable].from_deserializer(self)
                if name == "Array[String]" then return new Array[String].from_deserializer(self)
-               if name == "Array[Object]" then return new Array[Object].from_deserializer(self)
                return super
        end
 end
index 2529d3a..5f9676c 100644 (file)
@@ -1,4 +1,4 @@
 A hello world!
-C hello world!
 B hello world!
+C hello world!
 D hello world!