summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/Support/CachePruningTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CachePruningTest.cpp b/llvm/unittests/Support/CachePruningTest.cpp
index 97d554eabc3..1bb57871925 100644
--- a/llvm/unittests/Support/CachePruningTest.cpp
+++ b/llvm/unittests/Support/CachePruningTest.cpp
@@ -59,7 +59,7 @@ TEST(CachePruningPolicyParser, MaxSizeBytes) {
ASSERT_TRUE(bool(P));
EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
EXPECT_EQ(3u * 1024u * 1024u, P->MaxSizeBytes);
- P = parseCachePruningPolicy("cache_size_bytes=4g");
+ P = parseCachePruningPolicy("cache_size_bytes=4G");
ASSERT_TRUE(bool(P));
EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
EXPECT_EQ(4ull * 1024ull * 1024ull * 1024ull, P->MaxSizeBytes);
OpenPOWER on IntegriCloud