mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
chore: remove comments
This commit is contained in:
parent
36c318a02a
commit
44b970fc02
|
@ -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)
|
||||
// }
|
||||
// }
|
||||
|
|
Loading…
Reference in a new issue