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

Unified Diff: third_party/crashpad/crashpad/util/stdlib/aligned_allocator_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/stdlib/aligned_allocator_test.cc
diff --git a/third_party/crashpad/crashpad/util/stdlib/aligned_allocator_test.cc b/third_party/crashpad/crashpad/util/stdlib/aligned_allocator_test.cc
index fe3b9e65dbd00fc007829e539612d1e873d084eb..66ee6e6c082bdec21897fd40ac2585e9e4e6d499 100644
--- a/third_party/crashpad/crashpad/util/stdlib/aligned_allocator_test.cc
+++ b/third_party/crashpad/crashpad/util/stdlib/aligned_allocator_test.cc
@@ -54,7 +54,7 @@ TEST(AlignedAllocator, AlignedVector) {
struct ALIGNAS(32) AlignedStruct {
int i;
};
- ASSERT_EQ(32u, ALIGNOF(AlignedStruct));
+ ASSERT_EQ(ALIGNOF(AlignedStruct), 32u);
AlignedVector<AlignedStruct> aligned_vector;
aligned_vector.push_back(AlignedStruct());
@@ -76,7 +76,7 @@ TEST(AlignedAllocator, AlignedVector) {
struct ALIGNAS(1024) BigAlignedStruct {
int i;
};
- ASSERT_EQ(1024u, ALIGNOF(BigAlignedStruct));
+ ASSERT_EQ(ALIGNOF(BigAlignedStruct), 1024u);
AlignedVector<BigAlignedStruct> big_aligned_vector;
big_aligned_vector.push_back(BigAlignedStruct());

Powered by Google App Engine
This is Rietveld 408576698