mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Add test for PR#14
This commit is contained in:
parent
4e97f005e6
commit
ae07fd5aeb
1 changed files with 14 additions and 0 deletions
|
|
@ -599,5 +599,19 @@ testTokenization(['html', 'css'], [
|
|||
{ startIndex:0, type: DOCTYPE },
|
||||
{ startIndex:11, type: DELIM_DOCTYPE }
|
||||
]
|
||||
}],
|
||||
|
||||
// PR #14
|
||||
[{
|
||||
line: '<asdf:bar>asd</asdf:bar>',
|
||||
tokens: [
|
||||
{ startIndex:0, type: DELIM_START },
|
||||
{ startIndex:1, type: getTag('asdf:bar') },
|
||||
{ startIndex:9, type: DELIM_END },
|
||||
{ startIndex:10, type: '' },
|
||||
{ startIndex:13, type: DELIM_START },
|
||||
{ startIndex:15, type: getTag('asdf:bar') },
|
||||
{ startIndex:23, type: DELIM_END }
|
||||
]
|
||||
}]
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue