File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
"github.com/hackebrot/go-repr/repr"
8
8
)
9
9
10
- func Test_filter (t * testing.T ) {
10
+ func TestFilter (t * testing.T ) {
11
11
tests := []struct {
12
12
name string
13
13
f func (e * Emoji ) bool
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ var testEmojis = []*Emoji{
34
34
},
35
35
}
36
36
37
- func Test_category (t * testing.T ) {
37
+ func TestCategory (t * testing.T ) {
38
38
tests := []struct {
39
39
name string
40
40
c string
@@ -74,7 +74,7 @@ func Test_category(t *testing.T) {
74
74
}
75
75
}
76
76
77
- func Test_keyword (t * testing.T ) {
77
+ func TestKeyword (t * testing.T ) {
78
78
tests := []struct {
79
79
name string
80
80
k string
@@ -107,7 +107,7 @@ func Test_keyword(t *testing.T) {
107
107
}
108
108
}
109
109
110
- func Test_search (t * testing.T ) {
110
+ func TestSearch (t * testing.T ) {
111
111
tests := []struct {
112
112
name string
113
113
s string
@@ -152,7 +152,7 @@ func Test_search(t *testing.T) {
152
152
}
153
153
}
154
154
155
- func Test_Emojis (t * testing.T ) {
155
+ func TestEmojis (t * testing.T ) {
156
156
want := & Emoji {
157
157
Name : "fox_face" ,
158
158
Category : "animals_and_nature" ,
@@ -171,7 +171,7 @@ func Test_Emojis(t *testing.T) {
171
171
}
172
172
}
173
173
174
- func Test_EmojisByChar (t * testing.T ) {
174
+ func TestEmojisByChar (t * testing.T ) {
175
175
want := & Emoji {
176
176
Name : "fox_face" ,
177
177
Category : "animals_and_nature" ,
You can’t perform that action at this time.
0 commit comments