Skip to content

Commit

Permalink
cops: make render_test names lint compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorbin committed Dec 18, 2017
1 parent 451043d commit 9e9e452
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cops/display/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
. "github.com/borkshop/bork/internal/cops/display"
)

func TestRenderMultiRuneCell(t *testing.T) {
func TestRender_multiRuneCell(t *testing.T) {
whiteHand := "👍🏻"
d := New(image.Rect(0, 0, 2, 1))
d.Set(0, 0, whiteHand, color.White, color.Transparent)
Expand All @@ -21,7 +21,7 @@ func TestRenderMultiRuneCell(t *testing.T) {
assert.Equal(t, []byte(whiteHand+"\r\033[1C"+whiteHand), buf)
}

func TestRenderBlankAndMultiRuneCell(t *testing.T) {
func TestRender_blankAndMultiRuneCell(t *testing.T) {
whiteHand := "👍🏻"
d := New(image.Rect(0, 0, 3, 1))
d.Set(0, 0, "", color.White, color.Transparent)
Expand All @@ -33,7 +33,7 @@ func TestRenderBlankAndMultiRuneCell(t *testing.T) {
assert.Equal(t, []byte(" "+whiteHand+"\r\033[2C "), buf)
}

func TestRenderBlankAndMultiRuneCellOver(t *testing.T) {
func TestRender_blankAndMultiRuneCellOver(t *testing.T) {
whiteHand := "👍🏻"
front, back := New2(image.Rect(0, 0, 3, 1))
front.Set(0, 0, "", color.White, color.Transparent)
Expand Down

0 comments on commit 9e9e452

Please sign in to comment.