Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit cf1b3c7

Browse files
committed
tests(cfd): unit test missing correct arg val
1 parent 6ee36fd commit cf1b3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runner-manager/cfd/cloudgov/cf_client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func Test_parsePortRange(t *testing.T) {
2020
{name: "fails to parse range with non-int", prange: "60-cat", wantErr: true},
2121
{name: "fails to parse single with non-int", prange: "cat", wantErr: true},
2222
{name: "fails with empty string", prange: "", wantErr: true},
23-
{name: "fails with only separator", prange: "", wantErr: true},
23+
{name: "fails with only separator", prange: "-", wantErr: true},
2424
}
2525
for _, tt := range tests {
2626
t.Run(tt.name, func(t *testing.T) {

0 commit comments

Comments
 (0)