summaryrefslogtreecommitdiff
path: root/js/src/tests/ecma_6
diff options
context:
space:
mode:
authorTooru Fujisawa <arai_a@mac.com>2019-02-03 08:21:19 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:21:19 +0100
commitae4af7b7e598b4fec037254a1fd03ac3495695a4 (patch)
tree98d5420a48042e47b0d9971d30774b8c82d11486 /js/src/tests/ecma_6
parent90f6b2704658a554a12ed3c37545cb6474fbcf51 (diff)
downloaduxp-ae4af7b7e598b4fec037254a1fd03ac3495695a4.tar.gz
Stage 1-4: Update tests
Diffstat (limited to 'js/src/tests/ecma_6')
-rw-r--r--js/src/tests/ecma_6/Generators/runtime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/ecma_6/Generators/runtime.js b/js/src/tests/ecma_6/Generators/runtime.js
index c4d3bb6a66..7146eef9ff 100644
--- a/js/src/tests/ecma_6/Generators/runtime.js
+++ b/js/src/tests/ecma_6/Generators/runtime.js
@@ -109,7 +109,7 @@ function TestGeneratorFunction() {
// Doesn't matter particularly what string gets serialized, as long
// as it contains "function*" and "yield 10".
assertEq(GeneratorFunction('yield 10').toString(),
- "function* anonymous() {\nyield 10\n}");
+ "function* anonymous(\n) {\nyield 10\n}");
}
TestGeneratorFunction();