mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 09:20:10 +01:00
Added byte string escape tests
This commit is contained in:
parent
416cea65a0
commit
af103dd2f6
1 changed files with 13 additions and 1 deletions
|
|
@ -38,7 +38,19 @@ testTokenization('rust', [
|
|||
]
|
||||
}
|
||||
],
|
||||
|
||||
[
|
||||
{
|
||||
line: "'\"'",
|
||||
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
line: "'\0'",
|
||||
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
|
||||
}
|
||||
],
|
||||
|
||||
// Comment
|
||||
[
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue