Index: test/mjsunit/harmony/async-await-resolve-new.js |
diff --git a/test/mjsunit/harmony/regress/regress-624300.js b/test/mjsunit/harmony/async-await-resolve-new.js |
similarity index 68% |
copy from test/mjsunit/harmony/regress/regress-624300.js |
copy to test/mjsunit/harmony/async-await-resolve-new.js |
index f96fbbb5aaa1a22d4603e0c103372d1333af8f1a..0711c95873e95b9d32d5418b47d5fdda4dec4d64 100644 |
--- a/test/mjsunit/harmony/regress/regress-624300.js |
+++ b/test/mjsunit/harmony/async-await-resolve-new.js |
@@ -4,10 +4,6 @@ |
// Flags: --harmony-async-await |
-(function f() { |
- try { |
- f(); |
- } catch (e) { |
- (async() => await 1).length; |
- } |
-})(); |
+var resolved = Promise.resolve(); |
+ |
+assertTrue((async() => resolved)() !== resolved); |