Skip to content

Commit

Permalink
fix: PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed May 4, 2024
1 parent e1d2ea3 commit 5adb33b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipe/session/sessionUtils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ import (
)

func TestNormaliseSessionScope(t *testing.T) {
t.Run("test with empty string", func(t *testing.T) {
result, err := normaliseSessionScopeOrThrowError("")
assert.NoError(t, err)
assert.Equal(t, "", *result)
})

t.Run("test with leading dot", func(t *testing.T) {
result, err := normaliseSessionScopeOrThrowError(".example.com")
assert.NoError(t, err)
Expand Down

0 comments on commit 5adb33b

Please sign in to comment.