Browse Source

Improve string formatting

pull/158/head
Richard Lewis 7 years ago
parent
commit
790e6586b4
  1. 6
      src/github.com/matrix-org/go-neb/services/imgur/imgur_test.go

6
src/github.com/matrix-org/go-neb/services/imgur/imgur_test.go

@ -80,9 +80,9 @@ func TestCommand(t *testing.T) {
// Create the imgur service
srv, err := types.CreateService("id", ServiceType, "@imgurbot:hyrule", []byte(
`{
"client_id":"`+clientID+`"
}`,
fmt.Sprintf(`{
"client_id":"%s"
}`, clientID),
))
if err != nil {
t.Fatal("Failed to create imgur service: ", err)

Loading…
Cancel
Save