File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ func TestStyle_Regular(t *testing.T) {
1414 input [i ] = s
1515 }
1616 result := red .regular (input )
17- c := color .New (color .FgRed ).SprintFunc ()
17+ c := color .New (color .FgHiRed ).SprintFunc ()
1818 expected := fmt .Sprint (c (input ))
1919 if ! bytes .Equal ([]byte (result ), []byte (expected )) {
2020 t .Error ("Expected:" , expected , "instead" , result )
@@ -28,7 +28,7 @@ func TestStyle_Bold(t *testing.T) {
2828 input [i ] = s
2929 }
3030 result := red .bold (input )
31- c := color .New (color .FgRed , color .Bold ).SprintFunc ()
31+ c := color .New (color .FgHiRed , color .Bold ).SprintFunc ()
3232 expected := fmt .Sprint (c (input ))
3333 if ! bytes .Equal ([]byte (result ), []byte (expected )) {
3434 t .Error ("Expected:" , expected , "instead" , result )
You can’t perform that action at this time.
0 commit comments