Skip to content

Commit 7117406

Browse files
fix test panic go-mgo#2
1 parent b53c243 commit 7117406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ func (s *S) TestAuthUpsertUserAuthenticationRestrictions(c *C) {
357357
Password: "123456",
358358
Roles: []mgo.Role{mgo.RoleRead},
359359
OtherDBRoles: map[string][]mgo.Role{
360-
{"local": []mgo.Role{mgo.RoleRead}},
360+
"local": []mgo.Role{mgo.RoleRead},
361361
},
362362
AuthenticationRestrictions: []mgo.AuthenticationRestriction{
363363
{

0 commit comments

Comments
 (0)