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) return getCatValue(s, cat)
} }
// sets a value by category to the scope. Only intended for internal use. // kept around because it'll likely be needed again in later additions.
func (s TeamsChatsScope) set(cat teamsChatsCategory, v []string, opts ...option) TeamsChatsScope { // // sets a value by category to the scope. Only intended for internal use.
return set(s, cat, v, opts...) // 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 // setDefaults ensures that contact folder, mail folder, and user category
// scopes all express `AnyTgt` for their child category types. // scopes all express `AnyTgt` for their child category types.

View File

@ -1,7 +1,6 @@
package api package api
import ( import (
"regexp"
"testing" "testing"
"github.com/alcionai/clues" "github.com/alcionai/clues"
@ -81,8 +80,6 @@ func testGetChatByID(
require.NotNil(t, chat) require.NotNil(t, chat)
} }
var attachmentHtmlRegexp = regexp.MustCompile("<attachment id=\"[a-zA-Z0-9].*\"></attachment>")
func testEnumerateChatMessages( func testEnumerateChatMessages(
t *testing.T, t *testing.T,
ac Chats, ac Chats,