Skip to content

Commit f16e875

Browse files
Added tests for escapes in strings, regexes, and templates.
1 parent d1df797 commit f16e875

File tree

348 files changed

+2814
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

348 files changed

+2814
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//// [unicodeExtendedEscapesInRegularExpressions01_ES5.ts]
2+
3+
var x = /\u{0}/g;
4+
5+
6+
//// [unicodeExtendedEscapesInRegularExpressions01_ES5.js]
7+
var x = /\u{0}/g;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions01_ES5.ts ===
2+
3+
var x = /\u{0}/g;
4+
>x : RegExp
5+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//// [unicodeExtendedEscapesInRegularExpressions01_ES6.ts]
2+
3+
var x = /\u{0}/g;
4+
5+
6+
//// [unicodeExtendedEscapesInRegularExpressions01_ES6.js]
7+
var x = /\u{0}/g;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions01_ES6.ts ===
2+
3+
var x = /\u{0}/g;
4+
>x : RegExp
5+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//// [unicodeExtendedEscapesInRegularExpressions02_ES5.ts]
2+
3+
var x = /\u{00}/g;
4+
5+
6+
//// [unicodeExtendedEscapesInRegularExpressions02_ES5.js]
7+
var x = /\u{00}/g;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions02_ES5.ts ===
2+
3+
var x = /\u{00}/g;
4+
>x : RegExp
5+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//// [unicodeExtendedEscapesInRegularExpressions02_ES6.ts]
2+
3+
var x = /\u{00}/g;
4+
5+
6+
//// [unicodeExtendedEscapesInRegularExpressions02_ES6.js]
7+
var x = /\u{00}/g;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions02_ES6.ts ===
2+
3+
var x = /\u{00}/g;
4+
>x : RegExp
5+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//// [unicodeExtendedEscapesInRegularExpressions03_ES5.ts]
2+
3+
var x = /\u{0000}/g;
4+
5+
6+
//// [unicodeExtendedEscapesInRegularExpressions03_ES5.js]
7+
var x = /\u{0000}/g;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions03_ES5.ts ===
2+
3+
var x = /\u{0000}/g;
4+
>x : RegExp
5+

0 commit comments

Comments
 (0)