split up library and removed Stop() panic when called twice
This commit is contained in:
parent
6e61945c2c
commit
826d035d3e
4 changed files with 117 additions and 100 deletions
|
|
@ -58,6 +58,11 @@ func TestValidate(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
// should not panic
|
||||
err = jwt.Stop()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNoBlacklist(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue