nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sdl2: intro minimal bindings to SDL2 mixer
[nit.git]
/
tests
/
test_gen.nit
diff --git
a/tests/test_gen.nit
b/tests/test_gen.nit
index
0d15f98
..
019f202
100644
(file)
--- a/
tests/test_gen.nit
+++ b/
tests/test_gen.nit
@@
-28,7
+28,7
@@
class Toto[E]
end
class TestNative
- super ArrayCapable[Int]
+
init
do
@@
-39,7
+39,7
@@
do
a[1] = 2
print(a[0])
print(a[1])
- b = calloc_array(5)
+ b = new NativeArray[Int](5)
b[0]=200
b[1]=300
print(b[0])