Skip to content

Commit

Permalink
finish tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsawler committed May 20, 2022
1 parent d80ccee commit 09c1b1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions signer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,9 @@ func TestSignature_Expired(t *testing.T) {
if expired {
t.Error("token shows expired when it should not")
}

expired = sign.Expired(signed, -1)
if !expired {
t.Error("token shows not expired when it should be")
}
}

0 comments on commit 09c1b1b

Please sign in to comment.