commit 2f9b6106085ab5766b4838d5e94a5410c69a6d5f
parent 622d67e09516d3ec534d8bffb4ce810a06c54a8e
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sat, 6 Jan 2024 09:01:36 +0900
delete root from test: OpenBSD does not have group root
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/diskfs/uid_test.go b/diskfs/uid_test.go
@@ -22,9 +22,7 @@ func TestIsGroupLeader(t *testing.T) {
uid string
group string
want bool
- }{
- {"0", "root", "root", true},
- }
+ }{}
for _, id := range grpids {
grp, err := user.LookupGroupId(id)
if err != nil {
@@ -60,9 +58,7 @@ func TestIsGroupMember(t *testing.T) {
uid string
group string
want bool
- }{
- {"0", "root", "root", true},
- }
+ }{}
for _, id := range grpids {
grp, err := user.LookupGroupId(id)
if err != nil {