From 8344fe60be44b4e9e0b91c195869fd9da99a07f3 Mon Sep 17 00:00:00 2001 From: ryanfkeepers Date: Mon, 22 Jan 2024 16:57:57 -0700 Subject: [PATCH] some linter fixes and folder/file renames --- src/pkg/selectors/teamsChats.go | 9 +++++---- src/pkg/services/m365/api/teamsChats_pager_test.go | 3 --- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/pkg/selectors/teamsChats.go b/src/pkg/selectors/teamsChats.go index 762fbd03e..18ca26e39 100644 --- a/src/pkg/selectors/teamsChats.go +++ b/src/pkg/selectors/teamsChats.go @@ -449,10 +449,11 @@ func (s TeamsChatsScope) Get(cat teamsChatsCategory) []string { return getCatValue(s, cat) } -// sets a value by category to the scope. Only intended for internal use. -func (s TeamsChatsScope) set(cat teamsChatsCategory, v []string, opts ...option) TeamsChatsScope { - return set(s, cat, v, opts...) -} +// kept around because it'll likely be needed again in later additions. +// // sets a value by category to the scope. Only intended for internal use. +// func (s TeamsChatsScope) set(cat teamsChatsCategory, v []string, opts ...option) TeamsChatsScope { +// return set(s, cat, v, opts...) +// } // setDefaults ensures that contact folder, mail folder, and user category // scopes all express `AnyTgt` for their child category types. diff --git a/src/pkg/services/m365/api/teamsChats_pager_test.go b/src/pkg/services/m365/api/teamsChats_pager_test.go index 6ad54207b..c74d5f733 100644 --- a/src/pkg/services/m365/api/teamsChats_pager_test.go +++ b/src/pkg/services/m365/api/teamsChats_pager_test.go @@ -1,7 +1,6 @@ package api import ( - "regexp" "testing" "github.com/alcionai/clues" @@ -81,8 +80,6 @@ func testGetChatByID( require.NotNil(t, chat) } -var attachmentHtmlRegexp = regexp.MustCompile("") - func testEnumerateChatMessages( t *testing.T, ac Chats,