Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jan 20, 2015
1 parent 7afe008 commit 2170557
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/scala/JWTSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ class JWTSpec extends FunSpec {
val clients = Map("1" -> "test".getBytes("utf8"))
val claims = Claims("aud" -> "1", "foo" -> "bar")
val verified = for {
JWT(h, c, s) <- JWT(header, claims, clients("1")).map(new String(_))
client <- c.get("aud")
key <- clients.get(client)
(_, vc, _) <- JWT.verify((h, c, s), key)
JWT(h, c, s) <- JWT(header, claims, clients("1")).map(new String(_))
client <- c.get("aud")
key <- clients.get(client)
(_, vc, _) <- JWT.verify((h, c, s), key)
} yield vc
assert(verified.isDefined)
}
Expand Down

0 comments on commit 2170557

Please sign in to comment.