porting all github actions from bluesky-social/indigo to tangled CI
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 20 lines 335 B view raw
1package keyword 2 3import ( 4 "testing" 5 6 "github.com/stretchr/testify/assert" 7) 8 9func TestTokenInSet(t *testing.T) { 10 assert := assert.New(t) 11 12 keywords := []string{ 13 "example", 14 "bunch", 15 } 16 17 assert.True(TokenInSet("example", keywords)) 18 assert.False(TokenInSet("Example", keywords)) 19 assert.False(TokenInSet("elephant", keywords)) 20}