mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 10:43:36 +00:00
Merge branch 'ada/20241129-normalizeversion-test'
This commit is contained in:
@@ -396,3 +396,12 @@ func TestSymlinkResolution(t *testing.T) {
|
||||
}
|
||||
os.Remove(newPath)
|
||||
}
|
||||
|
||||
func TestNormalizeVersion(t *testing.T) {
|
||||
if got := normalizeVersion("v4.33.1"); got != "4.33.1" {
|
||||
t.Errorf("normalizeVersion(%q) = %q, want %q", "v4.33.1", got, "4.33.1")
|
||||
}
|
||||
if got := normalizeVersion("4.33.1"); got != "4.33.1" {
|
||||
t.Errorf("normalizeVersion(%q) = %q, want %q", "4.33.1", got, "4.33.1")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user