Skip to content

Commit 97006ec

Browse files
author
Kenji Fukuda
committed
[1.10>master] [MERGE #5521 @kfukuda2] Fixing broken build for ChakraFull
Merge pull request #5521 from kfukuda2:testFix
2 parents d7b7291 + 1906b50 commit 97006ec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/Basics/Labels.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ var tests = [
315315
name : "Label tests with keywords as labels",
316316
body : function ()
317317
{
318-
testModuleScript("await: for(let i = 0; i < 3; i++){break await;}","", shouldFail=true)
318+
testModuleScript("await: for(let i = 0; i < 3; i++){break await;}", "'await' expression not allowed in this context", shouldFail=true)
319319
assert.doesNotThrow(() => eval(strictMode + "await: for(let i = 0; i < 3; i++){break await;}"), "Await as label should only be an error when in a module")
320320
assert.doesNotThrow(() => eval(strictMode + testAwaitAsLabelOutsideAsyncFnc), "'await' should be allowed as label outside of async functions, even in strict mode.")
321321
assert.throws(() => eval(strictMode + testAwaitAsLabelInsideAsyncFnc), SyntaxError, "Expected 'await' label in async function to be a syntax error.", "Use of 'await' as label in async function is not allowed.");

test/Basics/rlexe.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<test>
7373
<default>
7474
<files>Labels.js</files>
75-
<compile-flags>-args summary -endargs</compile-flags>
75+
<compile-flags>-MuteHostErrorMsg -args summary -endargs</compile-flags>
7676
</default>
7777
</test>
7878
<test>

test/typedarray/rlexe.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Below test fails with difference in space. Investigate the cause and re-enable t
303303
<default>
304304
<files>Uint8ClampedArray.js</files>
305305
<baseline>Uint8ClampedArray_es6.baseline</baseline>
306-
<tags>typedarray</tags>
306+
<tags>typedarray,exclude_jshost</tags> <!-->Disabled jshost, created issue #5520<!-->
307307
</default>
308308
</test>
309309
<test>

0 commit comments

Comments
 (0)