add test for frames and bytes properties of empty movies
[swfdec.git] / test / trace / string-split-empty.as
blob68b43909ca0f2ca9ec6ba92ed3361029c74fecfb
1 // makeswf -v 7 -s 200x150 -r 1 -o string-split-empty.swf string-split-empty.as
3 trace ("Check String.split() on empty string");
5 s = "";
6 a = s.split ("x");
7 trace (typeof (a));
8 trace (a.length);
9 trace (a);
10 for (i = -1; i < 2; i++) {
11 a = s.split ("x", i);
12 trace (typeof (a));
13 trace (a.length);
14 trace (a);
17 loadMovie ("FSCommand:quit", "");