Skip to content

Commit

Permalink
Fixed test with []byte to string from nkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Asbury committed Nov 4, 2018
1 parent cdd508b commit 98f5dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func TestSample(t *testing.T) {
t.Fatalf("unable to read public key: %v", err)
}

if c.Issuer != pk {
if c.Issuer != string(pk) {
t.Fatalf("the public key is not trusted")
}
}
Expand Down

0 comments on commit 98f5dca

Please sign in to comment.