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) })