diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-02-03 14:03:59 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-02-03 14:03:59 +0300 |
commit | 030e99588d48c0f0a15cce110b1e9ac1a585bb86 (patch) | |
tree | 01332635e797aabba9039093dc100afa03efbe02 /tests/gtests/blenlib/BLI_string_utf8_test.cc | |
parent | aea17a612df0ae879d5bf67217aef29ed73f753b (diff) |
Tests: Use proper order for EXPECT_EQ()
Diffstat (limited to 'tests/gtests/blenlib/BLI_string_utf8_test.cc')
-rw-r--r-- | tests/gtests/blenlib/BLI_string_utf8_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtests/blenlib/BLI_string_utf8_test.cc b/tests/gtests/blenlib/BLI_string_utf8_test.cc index c0beb92eeec..95d73b4242f 100644 --- a/tests/gtests/blenlib/BLI_string_utf8_test.cc +++ b/tests/gtests/blenlib/BLI_string_utf8_test.cc @@ -298,7 +298,7 @@ TEST(string, Utf8InvalidBytes) const int num_errors_found = BLI_utf8_invalid_strip(buff, sizeof(buff) - 1); printf("[%02d] -> [%02d] \"%s\" -> \"%s\"\n", num_errors, num_errors_found, tst, buff); - EXPECT_EQ(num_errors, num_errors_found); + EXPECT_EQ(num_errors_found, num_errors); EXPECT_STREQ(buff, tst_stripped); } } |