Browse Source

[flash][js] fix test #10834

Aleksandr Kuzmenko 2 years ago
parent
commit
7980171322
1 changed files with 2 additions and 2 deletions
  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());
 	}
-}
+}