Skip to content

Commit d9569a5

Browse files
committed
Scope separation is space, not comma
1 parent 8bfa080 commit d9569a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

access_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ func TestExtraScopes(t *testing.T) {
258258
t.Fatalf("extraScopes returned true with less scopes")
259259
}
260260

261-
if extraScopes("a,b", "b,a") == true {
261+
if extraScopes("a b", "b a") == true {
262262
t.Fatalf("extraScopes returned true with matching scopes")
263263
}
264264

265-
if extraScopes("a,b", "b,a,c") == false {
265+
if extraScopes("a b", "b a c") == false {
266266
t.Fatalf("extraScopes returned false with extra scopes")
267267
}
268268

0 commit comments

Comments
 (0)