/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/tt2/string_feature.test
35 строк
893 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
[% "https://example.com/" " # not a comment" "multi-line string" "escaped \"quotes\"\nwork\twell" 'https://example.com/' ' # not a comment' 'multi-line string' 'escaped \'quotes\' work' %] ---------------------------------------------------- [ ["tt2", [ ["delimiter", "[%"], ["double-quoted-string", ["\"https://example.com/\""]], ["double-quoted-string", ["\" # not a comment\""]], ["double-quoted-string", ["\"multi-line\r\nstring\""]], ["double-quoted-string", ["\"escaped \\\"quotes\\\"\\nwork\\twell\""]], ["single-quoted-string", "'https://example.com/'"], ["single-quoted-string", "' # not a comment'"], ["single-quoted-string", "'multi-line\r\nstring'"], ["single-quoted-string", "'escaped \\'quotes\\' work'"], ["delimiter", "%]"] ] ] ] ---------------------------------------------------- Checks for strings.