From d6bf14902a1d4ef4f31d53964e53cb303dd1bcfc Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Tue, 18 Jun 2024 15:01:08 +0800 Subject: [PATCH] chore: fix test --- pkg/repo/fsrepo_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/repo/fsrepo_test.go b/pkg/repo/fsrepo_test.go index 8151fd594a..3e8182f492 100644 --- a/pkg/repo/fsrepo_test.go +++ b/pkg/repo/fsrepo_test.go @@ -72,7 +72,7 @@ func TestFSRepoOpen(t *testing.T) { assert.NoError(t, WriteVersion(repoPath, 99)) _, err := OpenFSRepo(repoPath, 1) - expected := fmt.Sprintf("binary needs update to handle repo version, got 99 expected %d. Update binary to latest release", LatestVersion) + expected := fmt.Sprintf("binary needs update to handle repo version, got 99 expected %d. Update binary to latest release", 1) assert.EqualError(t, err, expected) })