Skip to content

Commit ec7511a

Browse files
committed
Accept baseline test changes
Signed-off-by: Jay Clark <jay@jayeclark.dev>
1 parent 4927a33 commit ec7511a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tests/baselines/reference/jsFileCompilationBindStrictModeErrors.errors.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ tests/cases/compiler/b.js(3,7): error TS1210: Code contained in a class is evalu
1111
tests/cases/compiler/b.js(6,13): error TS1213: Identifier expected. 'let' is a reserved word in strict mode. Class definitions are automatically in strict mode.
1212
tests/cases/compiler/c.js(1,12): error TS1214: Identifier expected. 'let' is a reserved word in strict mode. Modules are automatically in strict mode.
1313
tests/cases/compiler/c.js(2,5): error TS1215: Invalid use of 'eval'. Modules are automatically in strict mode.
14-
tests/cases/compiler/d.js(2,9): error TS1121: Octal literals are not allowed in strict mode.
1514
tests/cases/compiler/d.js(2,11): error TS1005: ',' expected.
1615

1716

@@ -75,10 +74,8 @@ tests/cases/compiler/d.js(2,11): error TS1005: ',' expected.
7574
!!! error TS1215: Invalid use of 'eval'. Modules are automatically in strict mode.
7675
};
7776

78-
==== tests/cases/compiler/d.js (2 errors) ====
77+
==== tests/cases/compiler/d.js (1 errors) ====
7978
"use strict";
8079
var x = 009; // error
81-
~~
82-
!!! error TS1121: Octal literals are not allowed in strict mode.
8380
~
8481
!!! error TS1005: ',' expected.

tests/baselines/reference/plainJSBinderErrors.errors.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ tests/cases/conformance/salsa/plainJSBinderErrors.js(18,16): error TS1102: 'dele
1010
tests/cases/conformance/salsa/plainJSBinderErrors.js(19,16): error TS1102: 'delete' cannot be called on an identifier in strict mode.
1111
tests/cases/conformance/salsa/plainJSBinderErrors.js(22,15): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'eval'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.
1212
tests/cases/conformance/salsa/plainJSBinderErrors.js(23,15): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.
13-
tests/cases/conformance/salsa/plainJSBinderErrors.js(26,27): error TS1121: Octal literals are not allowed in strict mode.
1413
tests/cases/conformance/salsa/plainJSBinderErrors.js(27,9): error TS1101: 'with' statements are not allowed in strict mode.
1514
tests/cases/conformance/salsa/plainJSBinderErrors.js(33,13): error TS1344: 'A label is not allowed here.
1615
tests/cases/conformance/salsa/plainJSBinderErrors.js(39,7): error TS1215: Invalid use of 'eval'. Modules are automatically in strict mode.
1716
tests/cases/conformance/salsa/plainJSBinderErrors.js(40,7): error TS1215: Invalid use of 'arguments'. Modules are automatically in strict mode.
1817

1918

20-
==== tests/cases/conformance/salsa/plainJSBinderErrors.js (17 errors) ====
19+
==== tests/cases/conformance/salsa/plainJSBinderErrors.js (16 errors) ====
2120
export default 12
2221
~~~~~~~~~~~~~~~~~
2322
!!! error TS2528: A module cannot have multiple default exports.
@@ -70,8 +69,6 @@ tests/cases/conformance/salsa/plainJSBinderErrors.js(40,7): error TS1215: Invali
7069
}
7170
withOctal() {
7271
const redundant = 010
73-
~~~
74-
!!! error TS1121: Octal literals are not allowed in strict mode.
7572
with (redundant) {
7673
~~~~
7774
!!! error TS1101: 'with' statements are not allowed in strict mode.

0 commit comments

Comments
 (0)