Skip to content

Commit 57bfb2e

Browse files
gofmt the code
Signed-off-by: Chris Cummer <chriscummer@me.com>
1 parent 7a8d946 commit 57bfb2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

til_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func Test_TagMap_Get(t *testing.T) {
244244
}
245245

246246
for _, tt := range tests {
247-
pages := []*Page{&Page{TagsStr: "go"}}
247+
pages := []*Page{{TagsStr: "go"}}
248248
tMap := NewTagMap(pages)
249249

250250
actual := tMap.Get(tt.input)
@@ -286,7 +286,7 @@ func Test_TagMap_Len(t *testing.T) {
286286
}
287287

288288
func Test_TagMap_SortedTagNames(t *testing.T) {
289-
pages := []*Page{&Page{TagsStr: "go, ada, lua"}}
289+
pages := []*Page{{TagsStr: "go, ada, lua"}}
290290
tMap := NewTagMap(pages)
291291

292292
expected := []string{"ada", "go", "lua"}

0 commit comments

Comments
 (0)