Commit 3c10472f authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Convert file to UTF-8

This is mandated by Qt6
parent 40e6204c
Pipeline #207767 passed with stage
in 6 minutes and 27 seconds
......@@ -164,7 +164,7 @@ static const TestCase testcases[] = {
{"Basic quoted string \"foo\"", "\"foo\"", {{Lexer::QuotedString, "foo"}, {Lexer::None, nullptr}}, Error::None, 0, 0},
{"Basic quoted string, UTF-8",
"\"foo\xC3\xB1"
"foo\"", // foofoo
"foo\"", // fooäfoo
{{Lexer::QuotedString,
"foo\xC3\xB1"
"foo"},
......@@ -223,14 +223,14 @@ static const TestCase testcases[] = {
// identifiers:
//
{"Identifier, leading digits", "0id", {{Lexer::Number, "0"}}, Error::UnexpectedCharacter, 0, 1},
{"Identifier, embedded umlaut", "idid", {{Lexer::Identifier, "id"}}, Error::IllegalCharacter, 0, 2},
{"Identifier, embedded umlaut", "idäid", {{Lexer::Identifier, "id"}}, Error::IllegalCharacter, 0, 2},
//
// tags:
//
{"Lone ':' (at end)", ":", {{Lexer::Tag, nullptr}}, Error::UnexpectedCharacter, 0, 0},
{"Lone ':' (in stream)", ": ", {{Lexer::Tag, nullptr}}, Error::UnexpectedCharacter, 0, 1},
{"Tag, leading digits", ":0tag", {{Lexer::Tag, nullptr}}, Error::NoLeadingDigits, 0, 1},
{"Tag, embedded umlaut", ":tagtag", {{Lexer::Tag, "tag"}}, Error::IllegalCharacter, 0, 4},
{"Tag, embedded umlaut", ":tagätag", {{Lexer::Tag, "tag"}}, Error::IllegalCharacter, 0, 4},
//
// specials: (none)
// quoted string:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment