Skip to content

Commit

Permalink
update readme and test
Browse files Browse the repository at this point in the history
  • Loading branch information
shwetha-manvinkurke committed Sep 9, 2021
1 parent b4d9cf7 commit b51c382
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ voiceGrant := &jwt.VoiceGrant{

jwtToken.AddGrant(voiceGrant)
token, _ := jwtToken.ToJwt()
fmt.Println(token)
```

Creating Capability Token for TaskRouter v1
Expand All @@ -554,7 +553,6 @@ Params = taskrouter.CapabilityTokenParams{

capabilityToken := taskrouter.CreateCapabilityToken(Params)
token, err := capabilityToken.ToJwt()
fmt.Println(token)
```


Expand Down
2 changes: 1 addition & 1 deletion client/jwt/util/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import (
func TestMax(t *testing.T) {
assert.Equal(t, float64(5), Max(1, 5))
assert.Equal(t, float64(-40), Max(-100, -40))
assert.Equal(t, 5.5, Max(5.1, 5.5))
assert.Equal(t, 5.5, Max(5.5, 5.1))
}

0 comments on commit b51c382

Please sign in to comment.