Index: base/guid_unittest.cc |
diff --git a/base/guid_unittest.cc b/base/guid_unittest.cc |
index 18c04a9d3363d42f256d53a8dd9b915e22e5a5dc..7ecb1d88fdcef9f29d532653aee658c80a0452a2 100644 |
--- a/base/guid_unittest.cc |
+++ b/base/guid_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <limits> |
+#include "base/strings/string_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#if defined(OS_POSIX) |
@@ -27,6 +28,7 @@ TEST(GUIDTest, GUIDCorrectlyFormatted) { |
for (int it = 0; it < kIterations; ++it) { |
std::string guid = base::GenerateGUID(); |
EXPECT_TRUE(base::IsValidGUID(guid)); |
+ EXPECT_TRUE(base::IsValidGUID(base::StringToLowerASCII(guid))); |
Mark Mentovai
2014/09/04 22:59:03
Do this with StringToUpperASCII too, in case Gener
Ben Chan
2014/09/04 23:05:17
Done
I like the idea! it's weird that StringToUp
|
} |
} |