mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Minor fixes in tests
This commit is contained in:
parent
9d8a7bdf60
commit
950497cddf
1 changed files with 9 additions and 10 deletions
|
|
@ -42,8 +42,8 @@ testTokenization('flow9', [
|
||||||
{ startIndex: 1, type: 'keyword.flow' },
|
{ startIndex: 1, type: 'keyword.flow' },
|
||||||
{ startIndex: 7, type: '' },
|
{ startIndex: 7, type: '' },
|
||||||
{ startIndex: 8, type: 'identifier.flow' },
|
{ startIndex: 8, type: 'identifier.flow' },
|
||||||
{ startIndex: 13, type: '' },
|
{ startIndex: 12, type: '' },
|
||||||
{ startIndex: 14, type: 'number.flow' }
|
{ startIndex: 13, type: 'number.flow' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
@ -131,19 +131,18 @@ testTokenization('flow9', [
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
line: '"""',
|
line: '""',
|
||||||
tokens: [
|
tokens: [{ startIndex: 0, type: 'string.flow' }]
|
||||||
{ startIndex: 0, type: 'string.flow' },
|
|
||||||
{ startIndex: 1, type: 'string.escape.flow' },
|
|
||||||
{ startIndex: 3, type: 'string.flow' }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
line: '""',
|
line: '"""',
|
||||||
tokens: [{ startIndex: 0, type: 'string.invalid.flow' }]
|
tokens: [
|
||||||
|
{ startIndex: 0, type: 'string.flow' },
|
||||||
|
{ startIndex: 2, type: 'string.invalid.flow' }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue