1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Fix group_test.go.

This commit is contained in:
Juliusz Chroboczek 2021-07-31 23:38:01 +02:00
parent 3bdcb8af28
commit f26cf32abb

View file

@ -188,23 +188,23 @@ var badClients = []testClient{
var goodClients = []testClientPerm{ var goodClients = []testClientPerm{
{ {
testClient{"jch", "topsecret"}, testClient{"jch", "topsecret"},
ClientPermissions{true, true, false}, ClientPermissions{Op: true, Present: true},
}, },
{ {
testClient{"john", "secret"}, testClient{"john", "secret"},
ClientPermissions{false, true, false}, ClientPermissions{Present: true},
}, },
{ {
testClient{"john", "secret2"}, testClient{"john", "secret2"},
ClientPermissions{false, true, false}, ClientPermissions{Present: true},
}, },
{ {
testClient{"james", "secret3"}, testClient{"james", "secret3"},
ClientPermissions{false, false, false}, ClientPermissions{},
}, },
{ {
testClient{"paul", "secret3"}, testClient{"paul", "secret3"},
ClientPermissions{false, false, false}, ClientPermissions{},
}, },
} }