From: Jean Privat Date: Thu, 26 Feb 2015 11:39:41 +0000 (+0700) Subject: tests: update because changes in kernel and array X-Git-Tag: v0.7.3~44^2 X-Git-Url: http://nitlanguage.org tests: update because changes in kernel and array Signed-off-by: Jean Privat --- diff --git a/tests/sav/nitg-e/fixme/base_gen_reassign_alt4.res b/tests/sav/nitg-e/fixme/base_gen_reassign_alt4.res index 0856809..2ddb582 100644 --- a/tests/sav/nitg-e/fixme/base_gen_reassign_alt4.res +++ b/tests/sav/nitg-e/fixme/base_gen_reassign_alt4.res @@ -1,4 +1,4 @@ -Runtime error: Cast failed. Expected `OTHER`, got `Float` (../lib/standard/kernel.nit:413) +Runtime error: Cast failed. Expected `OTHER`, got `Float` (../lib/standard/kernel.nit:432) 11 21 31 diff --git a/tests/sav/nitg-e/fixme/base_gen_reassign_alt5.res b/tests/sav/nitg-e/fixme/base_gen_reassign_alt5.res index 0856809..2ddb582 100644 --- a/tests/sav/nitg-e/fixme/base_gen_reassign_alt5.res +++ b/tests/sav/nitg-e/fixme/base_gen_reassign_alt5.res @@ -1,4 +1,4 @@ -Runtime error: Cast failed. Expected `OTHER`, got `Float` (../lib/standard/kernel.nit:413) +Runtime error: Cast failed. Expected `OTHER`, got `Float` (../lib/standard/kernel.nit:432) 11 21 31 diff --git a/tests/sav/nitg-e/fixme/base_gen_reassign_alt6.res b/tests/sav/nitg-e/fixme/base_gen_reassign_alt6.res index 0856809..2ddb582 100644 --- a/tests/sav/nitg-e/fixme/base_gen_reassign_alt6.res +++ b/tests/sav/nitg-e/fixme/base_gen_reassign_alt6.res @@ -1,4 +1,4 @@ -Runtime error: Cast failed. Expected `OTHER`, got `Float` (../lib/standard/kernel.nit:413) +Runtime error: Cast failed. Expected `OTHER`, got `Float` (../lib/standard/kernel.nit:432) 11 21 31 diff --git a/tests/sav/nituml_args3.res b/tests/sav/nituml_args3.res index e248df6..24adbed 100644 --- a/tests/sav/nituml_args3.res +++ b/tests/sav/nituml_args3.res @@ -30,6 +30,11 @@ Discrete [ ] Comparable -> Discrete [dir=back arrowtail=open style=dashed]; +Cloneable [ + label = "{interface\nCloneable||+ clone(): SELF\l}" +] +Object -> Cloneable [dir=back arrowtail=open style=dashed]; + Numeric [ label = "{interface\nNumeric||+ +(i: OTHER): OTHER\l+ -(i: OTHER): OTHER\l+ unary -(): OTHER\l+ *(i: OTHER): OTHER\l+ /(i: OTHER): OTHER\l+ to_i(): Int\l+ to_f(): Float\l+ is_zero(): Bool\l+ zero(): OTHER\l+ value_of(val: Numeric): OTHER\l}" ] diff --git a/tests/sav/nituml_args4.res b/tests/sav/nituml_args4.res index 9a7b30f..81077d2 100644 --- a/tests/sav/nituml_args4.res +++ b/tests/sav/nituml_args4.res @@ -30,6 +30,11 @@ Discrete [ ] Comparable -> Discrete [dir=back arrowtail=open style=dashed]; +Cloneable [ + label = "{interface\nCloneable||+ clone(): SELF\l}" +] +Object -> Cloneable [dir=back arrowtail=open style=dashed]; + Numeric [ label = "{interface\nNumeric||+ +(i: OTHER): OTHER\l+ -(i: OTHER): OTHER\l+ unary -(): OTHER\l+ *(i: OTHER): OTHER\l+ /(i: OTHER): OTHER\l+ to_i(): Int\l+ to_f(): Float\l+ is_zero(): Bool\l+ zero(): OTHER\l+ value_of(val: Numeric): OTHER\l}" ] diff --git a/tests/sav/test_new_native_alt1.res b/tests/sav/test_new_native_alt1.res index d21eb0d..cf299e7 100644 --- a/tests/sav/test_new_native_alt1.res +++ b/tests/sav/test_new_native_alt1.res @@ -1,4 +1,4 @@ -Runtime error: Cast failed. Expected `E`, got `Bool` (../lib/standard/collection/array.nit:808) +Runtime error: Cast failed. Expected `E`, got `Bool` (../lib/standard/collection/array.nit:894) NativeString N Nit