mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Added baselines.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//// [templateStringWithBackslashEscapes01.ts]
|
||||
|
||||
|
||||
var a = `hello\world`;
|
||||
var b = `hello\\world`;
|
||||
var c = `hello\\\world`;
|
||||
var d = `hello\\\\world`;
|
||||
|
||||
//// [templateStringWithBackslashEscapes01.js]
|
||||
var a = "helloworld";
|
||||
var b = "hello\\world";
|
||||
var c = "hello\\world";
|
||||
var d = "hello\\\\world";
|
||||
@@ -0,0 +1,15 @@
|
||||
=== tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts ===
|
||||
|
||||
|
||||
var a = `hello\world`;
|
||||
>a : Symbol(a, Decl(templateStringWithBackslashEscapes01.ts, 2, 3))
|
||||
|
||||
var b = `hello\\world`;
|
||||
>b : Symbol(b, Decl(templateStringWithBackslashEscapes01.ts, 3, 3))
|
||||
|
||||
var c = `hello\\\world`;
|
||||
>c : Symbol(c, Decl(templateStringWithBackslashEscapes01.ts, 4, 3))
|
||||
|
||||
var d = `hello\\\\world`;
|
||||
>d : Symbol(d, Decl(templateStringWithBackslashEscapes01.ts, 5, 3))
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
=== tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts ===
|
||||
|
||||
|
||||
var a = `hello\world`;
|
||||
>a : string
|
||||
>`hello\world` : string
|
||||
|
||||
var b = `hello\\world`;
|
||||
>b : string
|
||||
>`hello\\world` : string
|
||||
|
||||
var c = `hello\\\world`;
|
||||
>c : string
|
||||
>`hello\\\world` : string
|
||||
|
||||
var d = `hello\\\\world`;
|
||||
>d : string
|
||||
>`hello\\\\world` : string
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
//// [templateStringWithBackslashEscapes01_ES6.ts]
|
||||
|
||||
var a = `hello\world`;
|
||||
var b = `hello\\world`;
|
||||
var c = `hello\\\world`;
|
||||
var d = `hello\\\\world`;
|
||||
|
||||
//// [templateStringWithBackslashEscapes01_ES6.js]
|
||||
var a = `hello\world`;
|
||||
var b = `hello\\world`;
|
||||
var c = `hello\\\world`;
|
||||
var d = `hello\\\\world`;
|
||||
@@ -0,0 +1,14 @@
|
||||
=== tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts ===
|
||||
|
||||
var a = `hello\world`;
|
||||
>a : Symbol(a, Decl(templateStringWithBackslashEscapes01_ES6.ts, 1, 3))
|
||||
|
||||
var b = `hello\\world`;
|
||||
>b : Symbol(b, Decl(templateStringWithBackslashEscapes01_ES6.ts, 2, 3))
|
||||
|
||||
var c = `hello\\\world`;
|
||||
>c : Symbol(c, Decl(templateStringWithBackslashEscapes01_ES6.ts, 3, 3))
|
||||
|
||||
var d = `hello\\\\world`;
|
||||
>d : Symbol(d, Decl(templateStringWithBackslashEscapes01_ES6.ts, 4, 3))
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
=== tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts ===
|
||||
|
||||
var a = `hello\world`;
|
||||
>a : string
|
||||
>`hello\world` : string
|
||||
|
||||
var b = `hello\\world`;
|
||||
>b : string
|
||||
>`hello\\world` : string
|
||||
|
||||
var c = `hello\\\world`;
|
||||
>c : string
|
||||
>`hello\\\world` : string
|
||||
|
||||
var d = `hello\\\\world`;
|
||||
>d : string
|
||||
>`hello\\\\world` : string
|
||||
|
||||
Reference in New Issue
Block a user