]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/access_test.go
Extensive refactor, quality of life enhancements
[rbdr/mobius] / hotline / access_test.go
index b262407d00adba719a1fcdb7f0ba9fd06c28d54b..f2755f30c85fa3cda6d419c6c00d2c029e083967 100644 (file)
@@ -11,13 +11,13 @@ func Test_accessBitmap_IsSet(t *testing.T) {
        }
        tests := []struct {
                name string
-               bits accessBitmap
+               bits AccessBitmap
                args args
                want bool
        }{
                {
                        name: "returns true when bit is set",
-                       bits: func() (access accessBitmap) {
+                       bits: func() (access AccessBitmap) {
                                access.Set(22)
                                return access
                        }(),
@@ -26,7 +26,7 @@ func Test_accessBitmap_IsSet(t *testing.T) {
                },
                {
                        name: "returns false when bit is unset",
-                       bits: accessBitmap{},
+                       bits: AccessBitmap{},
                        args: args{i: 22},
                        want: false,
                },