chore: remove comments

This commit is contained in:
Jan De Dobbeleer 2021-09-28 20:20:30 +02:00 committed by Jan De Dobbeleer
parent 36c318a02a
commit 44b970fc02

View file

@ -27,43 +27,3 @@ func TestBlockEnabled(t *testing.T) {
assert.Equal(t, tc.Expected, block.enabled(), tc.Case)
}
}
// func TestForegroundColor(t *testing.T) {
// cases := []struct {
// Case string
// Expected string
// PreviousSegment *Segment
// Segment *Segment
// }{
// {Case: "Standard", Expected: "black", Segment: &Segment{Foreground: "black"}},
// {Case: "Segment color override", Expected: "red", Segment: &Segment{Foreground: "black", props: &properties{foreground: "red"}}},
// {Case: "Inherit", Expected: "yellow", Segment: &Segment{Foreground: Inherit}, PreviousSegment: &Segment{Foreground: "yellow"}},
// }
// for _, tc := range cases {
// block := &Block{}
// block.previousActiveSegment = tc.PreviousSegment
// block.activeSegment = tc.Segment
// assert.Equal(t, tc.Expected, block.foreground(), tc.Case)
// }
// }
// func TestBackgroundColor(t *testing.T) {
// cases := []struct {
// Case string
// Expected string
// PreviousSegment *Segment
// Segment *Segment
// }{
// {Case: "Standard", Expected: "black", Segment: &Segment{Background: "black"}},
// {Case: "Segment color override", Expected: "red", Segment: &Segment{Background: "black", props: &properties{background: "red"}}},
// {Case: "Inherit", Expected: "yellow", Segment: &Segment{Background: Inherit}, PreviousSegment: &Segment{Background: "yellow"}},
// }
// for _, tc := range cases {
// block := &Block{}
// block.previousActiveSegment = tc.PreviousSegment
// block.activeSegment = tc.Segment
// assert.Equal(t, tc.Expected, block.background(), tc.Case)
// }
// }