Skip to content

Commit

Permalink
Don't run large file mapping test on WIN32.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jun 3, 2021
1 parent b581076 commit d11e0e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/UtilsTest.cpp
Expand Up @@ -477,6 +477,8 @@ TEST(UtilsTest, escapeJSON)
EXPECT_EQ(escaped, "\\u0001\\t\\f\\n\\\\\\\"\\u0016");
}

// Don't run if we are WIN32
#if !defined(_WIN32) || defined(_WIN64)
TEST(UtilsTest, map)
{
Support::Tempfile temp;
Expand Down Expand Up @@ -536,5 +538,6 @@ TEST(UtilsTest, map)
EXPECT_EQ(std::string(c), "Another.");
FileUtils::unmapFile(ctx);
}
#endif // guard for 32-bit windows

}

0 comments on commit d11e0e2

Please sign in to comment.