From ec5e91b8c97f02707a70a789ba4af84d51394ea5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 04:42:30 +0900 Subject: system: optimise string formatting Signed-off-by: Ophestra --- system/mkdir_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'system/mkdir_test.go') 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) { -- cgit v1.3.1