Rename group package and defaults to halls

This commit is contained in:
Storm Dragon
2026-05-17 22:37:38 -04:00
parent 55528b8e62
commit a8ada950d5
26 changed files with 459 additions and 459 deletions
+3 -3
View File
@@ -4,11 +4,11 @@ import (
"encoding/json"
"testing"
"git.stormux.org/storm/skald/group"
"git.stormux.org/storm/skald/hall"
)
func TestMakePassword(t *testing.T) {
doit := func(pw group.Password) {
doit := func(pw hall.Password) {
ok, _ := pw.Match("secret")
if !ok {
t.Errorf("%v didn't match", pw)
@@ -50,7 +50,7 @@ func TestFormatPermissions(t *testing.T) {
{`[]`, "[]", "[]"},
}
for _, test := range tests {
var p group.Permissions
var p hall.Permissions
err := json.Unmarshal([]byte(test.j), &p)
if err != nil {
t.Errorf("Unmarshal %#v: %v", test.j, err)