Added baselines.

This commit is contained in:
Daniel Rosenwasser
2015-04-16 15:54:14 -07:00
parent a634e6770a
commit c7db1c3781
6 changed files with 91 additions and 0 deletions

View File

@@ -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";

View File

@@ -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))

View File

@@ -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

View File

@@ -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`;

View File

@@ -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))

View File

@@ -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