From 762b232fd08b0c625d0d452176d95435043f1ded Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Tue, 8 Oct 2019 04:50:43 +0200 Subject: [PATCH] More code cleanups --- test/foptiattr-test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/foptiattr-test.cpp b/test/foptiattr-test.cpp index 98015217..e59dbf1f 100644 --- a/test/foptiattr-test.cpp +++ b/test/foptiattr-test.cpp @@ -934,7 +934,7 @@ void FOptiAttrTest::vt100Test() CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) , C_STR(CSI "0m\017$<2>") ); CPPUNIT_ASSERT ( *from == *to ); - CPPUNIT_ASSERT ( to->encoded_code == ' ' ); + CPPUNIT_ASSERT ( to->encoded_char == ' ' ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); // Invisible off (with default colors) @@ -1882,7 +1882,7 @@ void FOptiAttrTest::rxvtTest() CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) , C_STR(CSI "0m\017") ); CPPUNIT_ASSERT ( *from == *to ); - CPPUNIT_ASSERT ( to->encoded_code == ' ' ); + CPPUNIT_ASSERT ( to->encoded_char == ' ' ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); // Invisible off (with default colors) @@ -2354,7 +2354,7 @@ void FOptiAttrTest::linuxTest() CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) , C_STR(CSI "0m\017") ); CPPUNIT_ASSERT ( *from == *to ); - CPPUNIT_ASSERT ( to->encoded_code == ' ' ); + CPPUNIT_ASSERT ( to->encoded_char == ' ' ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); // Invisible off (with default colors) @@ -2838,7 +2838,7 @@ void FOptiAttrTest::puttyTest() CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) , C_STR(CSI "0m\017") ); CPPUNIT_ASSERT ( *from == *to ); - CPPUNIT_ASSERT ( to->encoded_code == ' ' ); + CPPUNIT_ASSERT ( to->encoded_char == ' ' ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); // Invisible off (with default colors) @@ -3312,7 +3312,7 @@ void FOptiAttrTest::teratermTest() CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to) , C_STR(CSI "0m\017$<2>") ); CPPUNIT_ASSERT ( *from == *to ); - CPPUNIT_ASSERT ( to->encoded_code == ' ' ); + CPPUNIT_ASSERT ( to->encoded_char == ' ' ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); // Invisible off (with default colors) @@ -3770,7 +3770,7 @@ void FOptiAttrTest::ibmColorTest() CPPUNIT_ASSERT ( *from != *to ); CPPUNIT_ASSERT_CSTRING ( oa.changeAttribute(from, to), C_STR("") ); CPPUNIT_ASSERT ( *from == *to ); - CPPUNIT_ASSERT ( to->encoded_code == ' ' ); + CPPUNIT_ASSERT ( to->encoded_char == ' ' ); CPPUNIT_ASSERT ( oa.changeAttribute(from, to) == 0 ); // Invisible off (with default colors)