diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-30 11:49:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-30 11:49:15 +0100 |
commit | 88ab9d4aa09a8ce09fa4d03faefa32e57c530746 (patch) | |
tree | 9fd65ffea201a14d4ba0077baf95911235583a4a /basic | |
parent | 9b3ca276dae6f8d4f337c78e64ed6b7f7e7662ef (diff) |
Get order of expected/actual args to CPPUNIT_ASSERT_EQUAL right
Change-Id: I0fa26417630991c6d07b5412fb579f9c222d09a6
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/cppunit/test_scanner.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/qa/cppunit/test_scanner.cxx b/basic/qa/cppunit/test_scanner.cxx index ec5836e85850..af2ea8853eca 100644 --- a/basic/qa/cppunit/test_scanner.cxx +++ b/basic/qa/cppunit/test_scanner.cxx @@ -118,14 +118,14 @@ namespace CPPUNIT_ASSERT(symbols.empty()); symbols = getSymbols(source2); - CPPUNIT_ASSERT_EQUAL(symbols.size(), size_t(1)); - CPPUNIT_ASSERT_EQUAL(symbols[0].text, cr); - CPPUNIT_ASSERT_EQUAL(symbols[0].type, SbxVARIANT); + CPPUNIT_ASSERT_EQUAL(size_t(1), symbols.size()); + CPPUNIT_ASSERT_EQUAL(cr, symbols[0].text); + CPPUNIT_ASSERT_EQUAL(SbxVARIANT, symbols[0].type); symbols = getSymbols(source3); - CPPUNIT_ASSERT_EQUAL(symbols.size(), size_t(1)); - CPPUNIT_ASSERT_EQUAL(symbols[0].text, cr); - CPPUNIT_ASSERT_EQUAL(symbols[0].type, SbxVARIANT); + CPPUNIT_ASSERT_EQUAL(size_t(1), symbols.size()); + CPPUNIT_ASSERT_EQUAL(cr, symbols[0].text); + CPPUNIT_ASSERT_EQUAL(SbxVARIANT, symbols[0].type); symbols = getSymbols(source4); CPPUNIT_ASSERT(symbols.size() == 1); |