summaryrefslogtreecommitdiff
path: root/base/stringprintf_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/stringprintf_test.cpp')
-rw-r--r--base/stringprintf_test.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/stringprintf_test.cpp b/base/stringprintf_test.cpp
index 54b2b6c9e1..5cc20864fe 100644
--- a/base/stringprintf_test.cpp
+++ b/base/stringprintf_test.cpp
@@ -20,14 +20,11 @@
#include <string>
-// The z size sepcifier isn't supported on Windows, so this test isn't useful.
-#if !defined(_WIN32)
TEST(StringPrintfTest, HexSizeT) {
size_t size = 0x00107e59;
EXPECT_EQ("00107e59", android::base::StringPrintf("%08zx", size));
EXPECT_EQ("0x00107e59", android::base::StringPrintf("0x%08zx", size));
}
-#endif
TEST(StringPrintfTest, StringAppendF) {
std::string s("a");