mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Added multiline tests.
This commit is contained in:
11
tests/baselines/reference/templateStringMultiline1.js
Normal file
11
tests/baselines/reference/templateStringMultiline1.js
Normal file
@@ -0,0 +1,11 @@
|
||||
//// [templateStringMultiline1.ts]
|
||||
|
||||
|
||||
// newlines are <CR><LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
|
||||
//// [templateStringMultiline1.js]
|
||||
// newlines are <CR><LF>
|
||||
"\n";
|
||||
8
tests/baselines/reference/templateStringMultiline1.types
Normal file
8
tests/baselines/reference/templateStringMultiline1.types
Normal 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.
|
||||
12
tests/baselines/reference/templateStringMultiline1_ES6.js
Normal file
12
tests/baselines/reference/templateStringMultiline1_ES6.js
Normal file
@@ -0,0 +1,12 @@
|
||||
//// [templateStringMultiline1_ES6.ts]
|
||||
|
||||
// newlines are <CR><LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
|
||||
//// [templateStringMultiline1_ES6.js]
|
||||
// newlines are <CR><LF>
|
||||
`
|
||||
\
|
||||
`;
|
||||
@@ -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.
|
||||
11
tests/baselines/reference/templateStringMultiline2.js
Normal file
11
tests/baselines/reference/templateStringMultiline2.js
Normal file
@@ -0,0 +1,11 @@
|
||||
//// [templateStringMultiline2.ts]
|
||||
|
||||
|
||||
// newlines are <LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
|
||||
//// [templateStringMultiline2.js]
|
||||
// newlines are <LF>
|
||||
"\n";
|
||||
8
tests/baselines/reference/templateStringMultiline2.types
Normal file
8
tests/baselines/reference/templateStringMultiline2.types
Normal 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.
|
||||
12
tests/baselines/reference/templateStringMultiline2_ES6.js
Normal file
12
tests/baselines/reference/templateStringMultiline2_ES6.js
Normal file
@@ -0,0 +1,12 @@
|
||||
//// [templateStringMultiline2_ES6.ts]
|
||||
|
||||
// newlines are <LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
|
||||
//// [templateStringMultiline2_ES6.js]
|
||||
// newlines are <LF>
|
||||
`
|
||||
\
|
||||
`;
|
||||
@@ -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.
|
||||
11
tests/baselines/reference/templateStringMultiline3.js
Normal file
11
tests/baselines/reference/templateStringMultiline3.js
Normal file
@@ -0,0 +1,11 @@
|
||||
//// [templateStringMultiline3.ts]
|
||||
|
||||
|
||||
// newlines are <CR>
|
||||
`
|
||||
\
|
||||
`
|
||||
|
||||
//// [templateStringMultiline3.js]
|
||||
// newlines are <CR>
|
||||
"\n";
|
||||
8
tests/baselines/reference/templateStringMultiline3.types
Normal file
8
tests/baselines/reference/templateStringMultiline3.types
Normal 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.
|
||||
12
tests/baselines/reference/templateStringMultiline3_ES6.js
Normal file
12
tests/baselines/reference/templateStringMultiline3_ES6.js
Normal file
@@ -0,0 +1,12 @@
|
||||
//// [templateStringMultiline3_ES6.ts]
|
||||
|
||||
// newlines are <CR>
|
||||
`
|
||||
\
|
||||
`
|
||||
|
||||
//// [templateStringMultiline3_ES6.js]
|
||||
// newlines are <CR>
|
||||
`
|
||||
\
|
||||
`;
|
||||
@@ -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.
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
// newlines are <CR><LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
@@ -0,0 +1,6 @@
|
||||
//@target: es6
|
||||
|
||||
// newlines are <CR><LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
// newlines are <LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
@@ -0,0 +1,6 @@
|
||||
//@target: es6
|
||||
|
||||
// newlines are <LF>
|
||||
`
|
||||
\
|
||||
`
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
//@target: es6
|
||||
Reference in New Issue
Block a user