Skip to content

Commit 6ca0c2c

Browse files
ehpcoktalz
authored andcommitted
BUG/MINOR: tests: fix namespace getter logic
1 parent 3c504da commit 6ca0c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func GetIntTestNamespace() (string, error) {
3232
}
3333
dir = filepath.Base(dir)
3434
dir = strings.Map(func(r rune) rune {
35-
if r < 'a' || r > 'z' && r != '-' {
35+
if (r < 'a' || r > 'z') && r != '-' {
3636
return '-'
3737
}
3838
return r

0 commit comments

Comments
 (0)