Skip to content

Commit 5adb33b

Browse files
committed
fix: PR changes
1 parent e1d2ea3 commit 5adb33b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

recipe/session/sessionUtils_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ import (
2323
)
2424

2525
func TestNormaliseSessionScope(t *testing.T) {
26+
t.Run("test with empty string", func(t *testing.T) {
27+
result, err := normaliseSessionScopeOrThrowError("")
28+
assert.NoError(t, err)
29+
assert.Equal(t, "", *result)
30+
})
31+
2632
t.Run("test with leading dot", func(t *testing.T) {
2733
result, err := normaliseSessionScopeOrThrowError(".example.com")
2834
assert.NoError(t, err)

0 commit comments

Comments
 (0)