瀏覽代碼

[flash][js] fix test #10834

Aleksandr Kuzmenko 2 年之前
父節點
當前提交
7980171322
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/unit/src/unit/issues/Issue10834.hx

+ 2 - 2
tests/unit/src/unit/issues/Issue10834.hx

@@ -7,6 +7,6 @@ class Issue10834 extends Test {
 	function test() {
 		tmp = a[0];
 		eq(0, a.length);
-		eq('[]', a.toString());
+		eq(#if (js || flash) '' #else '[]' #end, a.toString());
 	}
-}
+}