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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy