This commit is contained in:
Alex Dima 2020-09-18 21:55:20 +02:00
parent 6a4cd5fe25
commit 60477286f3
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 18 additions and 0 deletions

View file

@ -223,5 +223,21 @@ testTokenization('dockerfile', [
{ startIndex: 45, type: 'string.dockerfile' }
]
}
],
[
{
line: "RUN \\'e\\'",
tokens: [
{ startIndex: 0, type: 'keyword.dockerfile' },
{ startIndex: 3, type: '' }
]
},
{
line: 'RUN echo hi this is # not a comment',
tokens: [
{ startIndex: 0, type: 'keyword.dockerfile' },
{ startIndex: 3, type: '' }
]
}
]
]);