Get order of expected/actual args to CPPUNIT_ASSERT_EQUAL right
Change-Id: I0fa26417630991c6d07b5412fb579f9c222d09a6
This commit is contained in:
parent
9b3ca276da
commit
88ab9d4aa0
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue