Skip to content

Commit

Permalink
fix: Syntax issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kashishbehl committed Apr 3, 2024
1 parent 47cd0e9 commit fffd27b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookie_go111.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func newCookieFromOptions(name, value string, options *Options) *http.Cookie {
Secure: options.Secure,
HttpOnly: options.HttpOnly,
SameSite: options.SameSite,
Partitioned options.Partitioned,
Partitioned: options.Partitioned,
}

}
2 changes: 1 addition & 1 deletion cookie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestNewCookieFromOptions(t *testing.T) {
MaxAge: v.maxAge,
Secure: v.secure,
HttpOnly: v.httpOnly,
Partitioned: v.partitioned
Partitioned: v.partitioned,
}
cookie := newCookieFromOptions(v.name, v.value, options)
if cookie.Name != v.name {
Expand Down

0 comments on commit fffd27b

Please sign in to comment.