Skip to content

Commit 49652c3

Browse files
committed
fix: update test for fieldalignment-optimized struct order
1 parent 37f663c commit 49652c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

appservices/appservices_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ func TestNewRequest_withUserData(t *testing.T) {
142142

143143
inURL, outURL := requestPath, defaultBaseURL+requestPath
144144
inBody, outBody := &testRequestBody{TestName: "l", TestUserData: "u"},
145-
`{"testName":"l","testCounter":0,`+
146-
`"testUserData":"u"}`+"\n"
145+
`{"testName":"l","testUserData":"u","testCounter":0}`+"\n"
147146
req, _ := c.NewRequest(ctx, http.MethodGet, inURL, inBody)
148147

149148
// test relative URL was expanded

0 commit comments

Comments
 (0)