Added byte string escape tests

This commit is contained in:
nreed 2021-07-14 14:41:36 -04:00
parent 416cea65a0
commit af103dd2f6

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 // Comment
[ [