Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: third_party/crashpad/crashpad/util/misc/random_string_test.cc

Issue 2804713002: Update Crashpad to b4095401639ebe2ad33169e5c1d994065cbff1b8 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/util/misc/random_string_test.cc
diff --git a/third_party/crashpad/crashpad/util/misc/random_string_test.cc b/third_party/crashpad/crashpad/util/misc/random_string_test.cc
index bb05a2bd0476ec005749e8e8ae8783fff7a1976f..b0866c06d4ddcb9bac73a6c8a684b27195b7e7d1 100644
--- a/third_party/crashpad/crashpad/util/misc/random_string_test.cc
+++ b/third_party/crashpad/crashpad/util/misc/random_string_test.cc
@@ -33,13 +33,13 @@ TEST(RandomString, RandomString) {
const std::string allowed_characters("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
size_t character_counts[26] = {};
- ASSERT_EQ(arraysize(character_counts), allowed_characters.size());
+ ASSERT_EQ(allowed_characters.size(), arraysize(character_counts));
std::set<std::string> strings;
for (size_t i = 0; i < 256; ++i) {
const std::string random_string = RandomString();
- EXPECT_EQ(16u, random_string.size());
+ EXPECT_EQ(random_string.size(), 16u);
// Make sure that the string is unique. It is possible, but extremely
// unlikely, for there to be collisions.
« no previous file with comments | « third_party/crashpad/crashpad/util/misc/paths_win.cc ('k') | third_party/crashpad/crashpad/util/misc/uuid_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698