Skip to content

Commit

Permalink
change spelling to close #83
Browse files Browse the repository at this point in the history
  • Loading branch information
gilcrest committed Mar 25, 2022
1 parent 06bff5b commit 99a37a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ func TestXHeader(t *testing.T) {
t.Run("x-app-id", func(t *testing.T) {
c := qt.New(t)
hdr := http.Header{}
hdr.Add(appIDHeaderKey, "appologies")
hdr.Add(appIDHeaderKey, "appIdHeaderFakeText")

appID, err := xHeader(defaultRealm, hdr, appIDHeaderKey)
c.Assert(err, qt.IsNil)
c.Assert(appID, qt.Equals, "appologies")
c.Assert(appID, qt.Equals, "appIdHeaderFakeText")
})
t.Run("no header error", func(t *testing.T) {
c := qt.New(t)
Expand Down

0 comments on commit 99a37a5

Please sign in to comment.