versionsapi: fix shortPath implementation

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-05 16:55:57 +01:00
parent 6dad94137b
commit f17b40b44a
2 changed files with 10 additions and 3 deletions

View file

@ -607,6 +607,11 @@ func TestShortPath(t *testing.T) {
stream: "debug",
version: "v9.9.9",
},
"ref/foo/stream/stable/v9.9.9": {
ref: "foo",
stream: "stable",
version: "v9.9.9",
},
}
for name, tc := range testCases {