mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
464 B
TypeScript
29 lines
464 B
TypeScript
//// [tests/cases/conformance/scanner/ecmascript5/scannerStringLiterals.ts] ////
|
|
|
|
//// [scannerStringLiterals.ts]
|
|
""
|
|
" "
|
|
"a"
|
|
"'"
|
|
'"'
|
|
"\""
|
|
'\u2192\ '
|
|
"Legal line continuation \
|
|
"
|
|
"Should error because of newline.
|
|
"Should error because of end of file.
|
|
|
|
//// [scannerStringLiterals.js]
|
|
"use strict";
|
|
"";
|
|
" ";
|
|
"a";
|
|
"'";
|
|
'"';
|
|
"\"";
|
|
'\u2192\ ';
|
|
"Legal line continuation \
|
|
";
|
|
"Should error because of newline.;
|
|
"Should error because of end of file.;
|