diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-25 04:42:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-25 04:42:30 +0900 |
| commit | ec5e91b8c97f02707a70a789ba4af84d51394ea5 (patch) | |
| tree | 45f05e1315063936741ddafde8b5f95338315b54 /system/mkdir_test.go | |
| parent | ee51320abfeafabecd42659a88af9dfd44308a3a (diff) | |
system: optimise string formatting
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/mkdir_test.go')
| -rw-r--r-- | system/mkdir_test.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/system/mkdir_test.go b/system/mkdir_test.go index 20826940..14a47b02 100644 --- a/system/mkdir_test.go +++ b/system/mkdir_test.go @@ -41,20 +41,20 @@ func TestEphemeral(t *testing.T) { } } -func TestMkdir_String(t *testing.T) { +func TestMkdirString(t *testing.T) { testCases := []struct { want string ephemeral bool et Enablement }{ - {"Ensure", false, User}, - {"Ensure", false, Process}, - {"Ensure", false, EWayland}, + {"ensure", false, User}, + {"ensure", false, Process}, + {"ensure", false, EWayland}, - {"Wayland", true, EWayland}, - {"X11", true, EX11}, - {"D-Bus", true, EDBus}, - {"PulseAudio", true, EPulse}, + {"wayland", true, EWayland}, + {"x11", true, EX11}, + {"dbus", true, EDBus}, + {"pulseaudio", true, EPulse}, } for _, tc := range testCases { t.Run(tc.want, func(t *testing.T) { |
