Skip to content
Snippets Groups Projects
Commit ffaf667a authored by Alexandre Ganea's avatar Alexandre Ganea
Browse files

[Support][unittests] Silence warning when building with Clang 13 on

Windows.
parent 2e0cb615
No related branches found
No related tags found
No related merge requests found
......@@ -2316,7 +2316,7 @@ TEST_F(FileSystemTest, widenPath) {
for (size_t i = 0; i < NumChars; ++i)
Input += Pi;
// Check that UTF-8 length already exceeds MAX_PATH.
EXPECT_GT(Input.size(), MAX_PATH);
EXPECT_GT(Input.size(), (size_t)MAX_PATH);
SmallVector<wchar_t, MAX_PATH + 16> Result;
ASSERT_NO_ERROR(windows::widenPath(Input, Result));
// Result should not start with the long path prefix.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment