Skip to content

Commit

Permalink
Apply "go fmt" to master. (#5705)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr authored Jun 23, 2020
1 parent ad0914a commit cce4a37
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions graphql/e2e/custom_logic/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,11 @@ func verifyCustomNameHeadersHandler(w http.ResponseWriter, r *http.Request) {
urlSuffix: "/verifyCustomNameHeaders",
body: "",
headers: map[string][]string{
"X-App-Token": {"app-token"},
"X-User-Id": {"123"},
"Authorization": {"random-fake-token"},
"Accept-Encoding": nil,
"User-Agent": nil,
"X-App-Token": {"app-token"},
"X-User-Id": {"123"},
"Authorization": {"random-fake-token"},
"Accept-Encoding": nil,
"User-Agent": nil,
},
})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion systest/loader/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func TestLoaderXidmap(t *testing.T) {
}
}`
res1 := &testutil.GraphQLResponse{}
err=json.Unmarshal(b,res1)
err = json.Unmarshal(b, res1)
require.NoError(t, err)
require.JSONEq(t, expected, string(res1.Data))

Expand Down
2 changes: 1 addition & 1 deletion systest/online-restore/online_restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func runMutations(t *testing.T, dg *dgo.Dgraph) {

func TestBasicRestore(t *testing.T) {
disableDraining(t)

conn, err := grpc.Dial(testutil.SockAddr, grpc.WithInsecure())
require.NoError(t, err)
dg := dgo.NewDgraphClient(api.NewDgraphClient(conn))
Expand Down

0 comments on commit cce4a37

Please sign in to comment.