Skip to content

Commit

Permalink
Scope separation is space, not comma
Browse files Browse the repository at this point in the history
  • Loading branch information
RangelReale committed Jul 17, 2018
1 parent 8bfa080 commit d9569a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions access_test.go
Expand Up @@ -258,11 +258,11 @@ func TestExtraScopes(t *testing.T) {
t.Fatalf("extraScopes returned true with less scopes")
}

if extraScopes("a,b", "b,a") == true {
if extraScopes("a b", "b a") == true {
t.Fatalf("extraScopes returned true with matching scopes")
}

if extraScopes("a,b", "b,a,c") == false {
if extraScopes("a b", "b a c") == false {
t.Fatalf("extraScopes returned false with extra scopes")
}

Expand Down

0 comments on commit d9569a5

Please sign in to comment.