From 44328cd9a3ced0a5736e904f80f20d1749cfcf53 Mon Sep 17 00:00:00 2001 From: Christian Heusel Date: Sat, 8 Jun 2024 17:34:46 +0200 Subject: test: fix the testcases so they pass again The expected output for these tests has now changed since git smash (which we test against) has changed their version scheme. Component: pkgctl version setup Signed-off-by: Christian Heusel --- .../version/setup/github-tarball-as-platform/nvchecker.assert.toml | 1 + test/fixture/version/setup/github-tarball/nvchecker.assert.toml | 1 + test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/test/fixture/version/setup/github-tarball-as-platform/nvchecker.assert.toml b/test/fixture/version/setup/github-tarball-as-platform/nvchecker.assert.toml index b3c5db2..139f4b4 100644 --- a/test/fixture/version/setup/github-tarball-as-platform/nvchecker.assert.toml +++ b/test/fixture/version/setup/github-tarball-as-platform/nvchecker.assert.toml @@ -2,3 +2,4 @@ source = "github" github = "anthraxx/git-smash" use_max_tag = true +prefix = "v" diff --git a/test/fixture/version/setup/github-tarball/nvchecker.assert.toml b/test/fixture/version/setup/github-tarball/nvchecker.assert.toml index 65877ac..8008816 100644 --- a/test/fixture/version/setup/github-tarball/nvchecker.assert.toml +++ b/test/fixture/version/setup/github-tarball/nvchecker.assert.toml @@ -1,3 +1,4 @@ [git-smash] source = "git" git = "https://github.com/anthraxx/git-smash.git" +prefix = "v" diff --git a/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml b/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml index 38e881b..9d1fcd7 100644 --- a/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml +++ b/test/fixture/version/setup/pkgbase-with-dot/nvchecker.assert.toml @@ -1,3 +1,4 @@ ["git.smash"] source = "git" git = "https://github.com/anthraxx/git-smash.git" +prefix = "v" -- cgit v1.2.3-70-g09d2