diff options
author | Keunwoo Lee <keunwoo@flux.io> | 2015-07-27 20:27:54 +0300 |
---|---|---|
committer | Keunwoo Lee <keunwoo@flux.io> | 2015-07-27 20:27:54 +0300 |
commit | 8cd214031158fefb8faa539250849441807744fd (patch) | |
tree | 51c8907d98b234e63b0516c01289cd0b1b39a3f5 /securecookie_test.go | |
parent | ba5d1f998dfc2cd8dd155c61a23c9b2d728f243b (diff) |
Move error type assertions to test file.
Per elithrar comment on PR 28:
https://github.com/gorilla/securecookie/pull/28#discussion_r35059831
Diffstat (limited to 'securecookie_test.go')
-rw-r--r-- | securecookie_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/securecookie_test.go b/securecookie_test.go index 5778000..1d7f640 100644 --- a/securecookie_test.go +++ b/securecookie_test.go @@ -15,6 +15,10 @@ import ( "testing" ) +// Asserts that cookieError and MultiError are Error implementations. +var _ Error = cookieError{} +var _ Error = MultiError{} + var testCookies = []interface{}{ map[string]string{"foo": "bar"}, map[string]string{"baz": "ding"}, |