We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1556ecb commit 05dd553Copy full SHA for 05dd553
cmd/berry/berryinfo.go
@@ -1,7 +1,6 @@
1
package berry
2
3
import (
4
- "fmt"
5
"image"
6
"net/http"
7
"strings"
@@ -14,7 +13,7 @@ import (
14
13
15
// BerryName prints information based on currently selected berry.
16
func BerryName(berryName string) string {
17
- return fmt.Sprintf("Berry: %s", berryName)
+ return "Berry: " + berryName
18
}
19
20
func BerryEffect(berryName string) string {
cmd/berry/berryinfo_test.go
@@ -114,7 +114,6 @@ func TestBerryImageWithMockServer(t *testing.T) {
114
115
w.Header().Set("Content-Type", "image/png")
116
w.WriteHeader(http.StatusOK)
117
- w.Write([]byte("mock image data"))
118
}))
119
defer server.Close()
120
0 commit comments