Skip to content

Commit

Permalink
Increase coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
knz committed Sep 7, 2022
1 parent f1e6658 commit b982083
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions style_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ func TestStyleMethod(t *testing.T) {
{func(s S) S { return s.BorderBackground(g, r) }, `border-bottom-background: #0f0; border-left-background: #f00; border-right-background: #f00; border-top-background: #0f0;`},
{func(s S) S { return s.BorderBackground() }, ``},
{func(s S) S { return s.BorderBackground(g, r, b, w, g) }, ``},
{func(s S) S { return s.BorderForeground(g, r, b, w) }, `border-bottom-foreground: #00f; border-left-foreground: #fff; border-right-foreground: #f00; border-top-foreground: #0f0;`},
{func(s S) S { return s.BorderForeground(g, r, b) }, `border-bottom-foreground: #00f; border-left-foreground: #f00; border-right-foreground: #f00; border-top-foreground: #0f0;`},
{func(s S) S { return s.BorderForeground(g, r) }, `border-bottom-foreground: #0f0; border-left-foreground: #f00; border-right-foreground: #f00; border-top-foreground: #0f0;`},
{func(s S) S { return s.BorderForeground() }, ``},
{func(s S) S { return s.BorderForeground(g, r, b, w, g) }, ``},
}

for _, tc := range td {
Expand Down

0 comments on commit b982083

Please sign in to comment.