Files
tsgo/testdata/baselines/reference/submodule/conformance/scannerStringLiterals.js

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.;