Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-02-03 14:03:59 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-02-03 14:03:59 +0300
commit030e99588d48c0f0a15cce110b1e9ac1a585bb86 (patch)
tree01332635e797aabba9039093dc100afa03efbe02 /tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
parentaea17a612df0ae879d5bf67217aef29ed73f753b (diff)
Tests: Use proper order for EXPECT_EQ()
Diffstat (limited to 'tests/gtests/guardedalloc/guardedalloc_alignment_test.cc')
-rw-r--r--tests/gtests/guardedalloc/guardedalloc_alignment_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc b/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
index 345c3824b63..01ff38f0528 100644
--- a/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
+++ b/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
@@ -8,7 +8,7 @@ extern "C" {
#include "MEM_guardedalloc.h"
-#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ(0, (size_t)ptr % align)
+#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ((size_t)ptr % align, 0)
namespace {