Skip to content

Commit

Permalink
TestPacketDataStream: use UTF-8 instead of Latin1.
Browse files Browse the repository at this point in the history
The string test for PacketDataStream uses the string
Bærtur -- but encoded as Latin1.

Keep the string -- it's as good as any -- but use UTF-8 instead,
to make clang happy.

Fixes mumble-voip#2978
  • Loading branch information
mkrautz committed Mar 27, 2017
1 parent 24373a6 commit e9cb3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/TestPacketDataStream/TestPacketDataStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void TestPacketDataStream::string_data() {
QTest::addColumn<QString>("string");
QTest::newRow("Empty") << QString("");
QTest::newRow("Null") << QString();
QTest::newRow("Bærtur") << QString("Bærtur");
QTest::newRow("Bærtur") << QString("Bærtur");
}

void TestPacketDataStream::string() {
Expand Down

0 comments on commit e9cb3cb

Please sign in to comment.