Ruby squiggly heredoc.

This commit is contained in:
Peng Lyu 2018-03-07 15:37:15 -08:00
parent 51df390edc
commit fb489d416f
2 changed files with 9 additions and 1 deletions

View file

@ -134,5 +134,13 @@ testTokenization('ruby', [
{ startIndex: 0, type: 'identifier.ruby' },
{ startIndex: 1, type: 'string.heredoc.delimiter.ruby' }
]
}],
[{
line: 'x<<~HERE',
tokens: [
{ startIndex: 0, type: 'identifier.ruby' },
{ startIndex: 1, type: 'string.heredoc.delimiter.ruby' }
]
}]
]);