@@ -916,23 +916,23 @@ fn check_charattr_macro() {
916916 Color :: Red ,
917917 CharFlags :: Bold | CharFlags :: DoubleUnderline | CharFlags :: StrikeThrough
918918 )
919- ) ;
919+ ) ;
920920 assert_eq ! (
921921 charattr!( "?,r,attr: Bold+CurlyUnderline+StrikeThrough" ) ,
922922 CharAttribute :: new(
923923 Color :: Transparent ,
924924 Color :: Red ,
925925 CharFlags :: Bold | CharFlags :: CurlyUnderline | CharFlags :: StrikeThrough
926926 )
927- ) ;
927+ ) ;
928928 assert_eq ! (
929929 charattr!( "aqua,pink,attr: Bold+DottedUnderline+StrikeThrough" ) ,
930930 CharAttribute :: new(
931931 Color :: Aqua ,
932932 Color :: Pink ,
933933 CharFlags :: Bold | CharFlags :: DottedUnderline | CharFlags :: StrikeThrough
934934 )
935- ) ;
935+ ) ;
936936}
937937
938938#[ test]
@@ -1019,7 +1019,7 @@ fn check_serialization_to_buffer() {
10191019 const RESULT : [ u8 ; 92 ] = [
10201020 // Magic
10211021 83 , 82 , 70 , // Version
1022- 1 , // Width and Height
1022+ 1 , // Width and Height
10231023 5 , 0 , 0 , 0 , 2 , 0 , 0 , 0 , // Character data
10241024 72 , 0 , 0 , 0 , 0 , 0 , 15 , 4 , 101 , 0 , 0 , 0 , 0 , 0 , 15 , 4 , 108 , 0 , 0 , 0 , 0 , 0 , 15 , 4 , 108 , 0 , 0 , 0 , 0 , 0 , 15 , 4 , 111 , 0 , 0 , 0 , 0 , 0 , 15 , 4 , 87 , 0 ,
10251025 0 , 0 , 1 , 0 , 10 , 4 , 111 , 0 , 0 , 0 , 1 , 0 , 10 , 4 , 114 , 0 , 0 , 0 , 1 , 0 , 10 , 4 , 108 , 0 , 0 , 0 , 1 , 0 , 10 , 4 , 100 , 0 , 0 , 0 , 1 , 0 , 10 , 4 ,
@@ -1102,8 +1102,8 @@ fn check_color_contrast() {
11021102 assert_eq ! ( Color :: Transparent . contrast_color( ) , Color :: Transparent ) ;
11031103 #[ cfg( feature = "TRUE_COLORS" ) ]
11041104 {
1105- assert_eq ! ( Color :: RGB ( 1 , 1 , 1 ) . contrast_color( ) , Color :: Black ) ;
1106- assert_eq ! ( Color :: RGB ( 254 , 254 , 254 ) . contrast_color( ) , Color :: White ) ;
1105+ assert_eq ! ( Color :: RGB ( 1 , 1 , 1 ) . contrast_color( ) , Color :: White ) ;
1106+ assert_eq ! ( Color :: RGB ( 254 , 254 , 254 ) . contrast_color( ) , Color :: Black ) ;
11071107 }
11081108}
11091109
0 commit comments