Added multiline tests.

This commit is contained in:
Daniel Rosenwasser
2014-12-02 13:53:56 -08:00
parent a6b6b6b816
commit 4c4e5a43e0
18 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
//// [templateStringMultiline1.ts]
// newlines are <CR><LF>
`
\
`
//// [templateStringMultiline1.js]
// newlines are <CR><LF>
"\n";

View File

@@ -0,0 +1,8 @@
=== tests/cases/conformance/es6/templates/templateStringMultiline1.ts ===
No type information for this code.
No type information for this code.// newlines are <CR><LF>
No type information for this code.`
No type information for this code.\
No type information for this code.`
No type information for this code.

View File

@@ -0,0 +1,12 @@
//// [templateStringMultiline1_ES6.ts]
// newlines are <CR><LF>
`
\
`
//// [templateStringMultiline1_ES6.js]
// newlines are <CR><LF>
`
\
`;

View File

@@ -0,0 +1,7 @@
=== tests/cases/conformance/es6/templates/templateStringMultiline1_ES6.ts ===
No type information for this code.// newlines are <CR><LF>
No type information for this code.`
No type information for this code.\
No type information for this code.`
No type information for this code.

View File

@@ -0,0 +1,11 @@
//// [templateStringMultiline2.ts]
// newlines are <LF>
`
\
`
//// [templateStringMultiline2.js]
// newlines are <LF>
"\n";

View File

@@ -0,0 +1,8 @@
=== tests/cases/conformance/es6/templates/templateStringMultiline2.ts ===
No type information for this code.
No type information for this code.// newlines are <LF>
No type information for this code.`
No type information for this code.\
No type information for this code.`
No type information for this code.

View File

@@ -0,0 +1,12 @@
//// [templateStringMultiline2_ES6.ts]
// newlines are <LF>
`
\
`
//// [templateStringMultiline2_ES6.js]
// newlines are <LF>
`
\
`;

View File

@@ -0,0 +1,7 @@
=== tests/cases/conformance/es6/templates/templateStringMultiline2_ES6.ts ===
No type information for this code.// newlines are <LF>
No type information for this code.`
No type information for this code.\
No type information for this code.`
No type information for this code.

View File

@@ -0,0 +1,11 @@
//// [templateStringMultiline3.ts]
// newlines are <CR>
`
\
`
//// [templateStringMultiline3.js]
// newlines are <CR>
"\n";

View File

@@ -0,0 +1,8 @@
=== tests/cases/conformance/es6/templates/templateStringMultiline3.ts ===
No type information for this code.
No type information for this code.// newlines are <CR>
No type information for this code.`
No type information for this code.\
No type information for this code.`
No type information for this code.

View File

@@ -0,0 +1,12 @@
//// [templateStringMultiline3_ES6.ts]
// newlines are <CR>
`
\
`
//// [templateStringMultiline3_ES6.js]
// newlines are <CR>
`
\
`;

View File

@@ -0,0 +1,7 @@
=== tests/cases/conformance/es6/templates/templateStringMultiline3_ES6.ts ===
No type information for this code.// newlines are <CR>
No type information for this code.`
No type information for this code.\
No type information for this code.`
No type information for this code.

View File

@@ -0,0 +1,6 @@
// newlines are <CR><LF>
`
\
`

View File

@@ -0,0 +1,6 @@
//@target: es6
// newlines are <CR><LF>
`
\
`

View File

@@ -0,0 +1,6 @@
// newlines are <LF>
`
\
`

View File

@@ -0,0 +1,6 @@
//@target: es6
// newlines are <LF>
`
\
`

View File

@@ -0,0 +1 @@
//@target: es6