Minor fixes in tests

pull/2748/head
Valeriia 2021-07-29 17:43:27 +03:00
parent 9d8a7bdf60
commit 950497cddf
1 changed files with 9 additions and 10 deletions

View File

@ -42,8 +42,8 @@ testTokenization('flow9', [
{ startIndex: 1, type: 'keyword.flow' },
{ startIndex: 7, type: '' },
{ startIndex: 8, type: 'identifier.flow' },
{ startIndex: 13, type: '' },
{ startIndex: 14, type: 'number.flow' }
{ startIndex: 12, type: '' },
{ startIndex: 13, type: 'number.flow' }
]
}
],
@ -131,19 +131,18 @@ testTokenization('flow9', [
[
{
line: '"""',
tokens: [
{ startIndex: 0, type: 'string.flow' },
{ startIndex: 1, type: 'string.escape.flow' },
{ startIndex: 3, type: 'string.flow' }
]
line: '""',
tokens: [{ startIndex: 0, type: 'string.flow' }]
}
],
[
{
line: '""',
tokens: [{ startIndex: 0, type: 'string.invalid.flow' }]
line: '"""',
tokens: [
{ startIndex: 0, type: 'string.flow' },
{ startIndex: 2, type: 'string.invalid.flow' }
]
}
]
]);