Browse Source

pastojs: fixed test

git-svn-id: trunk@37832 -
Mattias Gaertner 7 years ago
parent
commit
ca9174d505
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/pastojs/tests/tcmodules.pas

+ 1 - 1
packages/pastojs/tests/tcmodules.pas

@@ -9620,7 +9620,7 @@ begin
     'this.i2 = null;'
     ]),
     LinesToStr([ // $mod.$main
-    'var $in1 = $mod.b;',
+    'var $in1 = $mod.b.GetEnumerator();',
     'try {',
     '  while ($in1.MoveNext()){',
     '    $mod.i = $in1.FCurrent;',