From b63cdfd4f4a00f5fdb732778244d3456725f46c9 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Thu, 29 Aug 2019 17:20:50 -0300 Subject: [PATCH] Fix a test for TLA (#2319) Fixes #2300 --- .../top-level-await/await-expr-func-expression.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/language/module-code/top-level-await/await-expr-func-expression.js b/test/language/module-code/top-level-await/await-expr-func-expression.js index 3c2daefeaa..561128ecb1 100644 --- a/test/language/module-code/top-level-await/await-expr-func-expression.js +++ b/test/language/module-code/top-level-await/await-expr-func-expression.js @@ -41,10 +41,9 @@ flags: [module, async] features: [top-level-await] ---*/ -function fn() { return 1; } -function fn() { return 2; } -await function fn() { return 3; }; +function fn() { return 42; } +await function fn() { return 111; }; -assert.sameValue(fn(), 2); +assert.sameValue(fn(), 42); $DONE();