Unit tests update

This commit is contained in:
Markus Gans 2018-04-05 12:47:32 +02:00
parent 283b22a907
commit 9978c7e341
1 changed files with 2 additions and 1 deletions

View File

@ -831,7 +831,8 @@ void FOptiAttrTest::vt100Test()
CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to)
, C_STR(CSI "0m\017$<2>") );
CPPUNIT_ASSERT ( *from != *to );
CPPUNIT_ASSERT ( from->code = ' ' );
CPPUNIT_ASSERT ( to->code == ' ' );
from->code = ' ';
CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 );
// Invisible off (with default colors)