16 lines
455 B
Plaintext
16 lines
455 B
Plaintext
==== tests/cases/conformance/scanner/ecmascript5/scannerStringLiterals.ts (2 errors) ====
|
|
""
|
|
" "
|
|
"a"
|
|
"'"
|
|
'"'
|
|
"\""
|
|
'\u2192\ '
|
|
"Legal line continuation \
|
|
"
|
|
"Should error because of newline.
|
|
|
|
!!! error TS1002: Unterminated string literal.
|
|
"Should error because of end of file.
|
|
|
|
!!! error TS1126: Unexpected end of text. |