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

Commit 7867e89

Browse files
authored
fixup! fix: cmd/update: do not use NewStrictVersion for user-provided version (#442)
1 parent a8ef208 commit 7867e89

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

internal/cmd/update_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,6 @@ func Test_getDesiredVersion(t *testing.T) {
412412
assert.Success(t, "error should be nil", err)
413413
assert.True(t, "should handle versions without trailing zero", expected.Equal(actual))
414414
})
415-
416-
t.Run("empty coder URL", func(t *testing.T) {
417-
t.Parallel()
418-
419-
expected := &semver.Version{}
420-
actual, err := getDesiredVersion(nil, "", "")
421-
assert.ErrorContains(t, "error should be nil", err, "get coder url")
422-
assert.True(t, "should handle versions without trailing zero", expected.Equal(actual))
423-
})
424415
}
425416

426417
// fakeGetter mocks HTTP requests.

0 commit comments

Comments
 (0)