Skip to content

Commit ce77040

Browse files
committed
Update test functions names in turtle
1 parent b32bab3 commit ce77040

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

filters_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/hackebrot/go-repr/repr"
88
)
99

10-
func Test_filter(t *testing.T) {
10+
func TestFilter(t *testing.T) {
1111
tests := []struct {
1212
name string
1313
f func(e *Emoji) bool

turtle_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var testEmojis = []*Emoji{
3434
},
3535
}
3636

37-
func Test_category(t *testing.T) {
37+
func TestCategory(t *testing.T) {
3838
tests := []struct {
3939
name string
4040
c string
@@ -74,7 +74,7 @@ func Test_category(t *testing.T) {
7474
}
7575
}
7676

77-
func Test_keyword(t *testing.T) {
77+
func TestKeyword(t *testing.T) {
7878
tests := []struct {
7979
name string
8080
k string
@@ -107,7 +107,7 @@ func Test_keyword(t *testing.T) {
107107
}
108108
}
109109

110-
func Test_search(t *testing.T) {
110+
func TestSearch(t *testing.T) {
111111
tests := []struct {
112112
name string
113113
s string
@@ -152,7 +152,7 @@ func Test_search(t *testing.T) {
152152
}
153153
}
154154

155-
func Test_Emojis(t *testing.T) {
155+
func TestEmojis(t *testing.T) {
156156
want := &Emoji{
157157
Name: "fox_face",
158158
Category: "animals_and_nature",
@@ -171,7 +171,7 @@ func Test_Emojis(t *testing.T) {
171171
}
172172
}
173173

174-
func Test_EmojisByChar(t *testing.T) {
174+
func TestEmojisByChar(t *testing.T) {
175175
want := &Emoji{
176176
Name: "fox_face",
177177
Category: "animals_and_nature",

0 commit comments

Comments
 (0)