From e5b6bf487ac61364c7ffba197aea41b56cace247 Mon Sep 17 00:00:00 2001 From: John Donaldson Date: Fri, 21 Oct 2022 15:12:47 -0700 Subject: [PATCH] Fix file deletion strategy --- cmd/mothd/state_filesystem_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mothd/state_filesystem_test.go b/cmd/mothd/state_filesystem_test.go index c51cf3d..d657d11 100644 --- a/cmd/mothd/state_filesystem_test.go +++ b/cmd/mothd/state_filesystem_test.go @@ -633,7 +633,7 @@ func TestStateDeleteTeamIDList(t *testing.T) { s := NewTestState() s.refresh() - afero.Remove(s, "teamids.txt") + s.Fs.Remove("teamids.txt") teamIDs, err := s.TeamIDs()