some linter fixes and folder/file renames

This commit is contained in:
ryanfkeepers 2024-01-22 16:57:57 -07:00
parent a17ed85220
commit 8344fe60be
2 changed files with 5 additions and 7 deletions

View File

@ -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.

View File

@ -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("<attachment id=\"[a-zA-Z0-9].*\"></attachment>")
func testEnumerateChatMessages(
t *testing.T,
ac Chats,