We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d2ea3 commit 5adb33bCopy full SHA for 5adb33b
recipe/session/sessionUtils_test.go
@@ -23,6 +23,12 @@ import (
23
)
24
25
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
+
32
t.Run("test with leading dot", func(t *testing.T) {
33
result, err := normaliseSessionScopeOrThrowError(".example.com")
34
assert.NoError(t, err)
0 commit comments