Skip to content

Commit

Permalink
Try to fix test failure on Windows (MSVS 2017).
Browse files Browse the repository at this point in the history
  • Loading branch information
vahancho committed Jul 10, 2020
1 parent e9ca18f commit d34cb4d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ TEST(General, SetRowUnicode)
EXPECT_EQ(textable.cellValue(3, 1), u8"Fünf");
EXPECT_EQ(textable.cellValue(3, 0), "Unicode");

std::string expected(u8"+---------+------+---------------+----------+\n"
"| | | | |\n"
"+---------+------+---------------+----------+\n"
"| | | | |\n"
"+---------+------+---------------+----------+\n"
"| | | | |\n"
"+---------+------+---------------+----------+\n"
"| Unicode | Fünf | Двадцать пять | Հայաստան |\n"
"+---------+------+---------------+----------+\n");
std::string expected("+---------+------+---------------+----------+\n"
"| | | | |\n"
"+---------+------+---------------+----------+\n"
"| | | | |\n"
"+---------+------+---------------+----------+\n"
"| | | | |\n"
"+---------+------+---------------+----------+\n"
"| Unicode | Fünf | Двадцать пять | Հայաստան |\n"
"+---------+------+---------------+----------+\n");
std::cout << "Expected table:\n" << expected;
std::cout << "\nActual table:\n" << textable << '\n';

Expand Down

0 comments on commit d34cb4d

Please sign in to comment.