avm2: Extend array_concat test with new cases
This commit is contained in:
parent
42347d7234
commit
19b4bfe5d3
|
@ -1,5 +1,10 @@
|
|||
package {
|
||||
public class Test {
|
||||
// compiled with mxmlc
|
||||
|
||||
package {
|
||||
import flash.display.MovieClip;
|
||||
public class Test extends MovieClip {
|
||||
public function Test() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,3 +39,8 @@ trace("//a.concat(b, b);");
|
|||
var f = a.concat(b, b);
|
||||
|
||||
assert_array(f);
|
||||
|
||||
trace("//a.concat(null, undefined);");
|
||||
var g = a.concat(null, undefined);
|
||||
|
||||
assert_array(g);
|
||||
|
|
|
@ -33,3 +33,9 @@ f
|
|||
d
|
||||
e
|
||||
f
|
||||
//a.concat(null, undefined);
|
||||
a
|
||||
b
|
||||
c
|
||||
null
|
||||
undefined
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue