Merge pull request #147 from nathanrreed/rustcharliteral

fix char literal highlighting #2481
This commit is contained in:
Henning Dieterichs 2021-07-15 09:15:53 +02:00 committed by GitHub
commit 781d21f954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,18 @@ testTokenization('rust', [
]
}
],
[
{
line: "'\"'",
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
}
],
[
{
line: "'\0'",
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
}
],
// Comment
[