Skip to content

Commit

Permalink
Let tests think we are still in v11 as otherwise they fail
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanjuan committed Apr 26, 2021
1 parent bca561a commit 3c2d9b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fs-repo-migrations/main.go
Expand Up @@ -130,7 +130,7 @@ func latestRepoMigration(fetcher migrations.Fetcher) (int, error) {
// request and calculate latest
//
// When searching for latest migration, start looking using this repo version
const currentVersion = 12
const currentVersion = 11

ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
defer cancel()
Expand Down
4 changes: 2 additions & 2 deletions sharness/t0030-simple-migration.sh
Expand Up @@ -13,7 +13,7 @@ test_expect_success "'fs-repo-migrations -v' works" '
'

test_expect_success "'fs-repo-migrations -v' output looks good" '
echo "12" >expected &&
echo "11" >expected &&
test_cmp expected actual
'

Expand All @@ -30,7 +30,7 @@ test_expect_success "'fs-repo-migrations -v' works" '
'

test_expect_success "'fs-repo-migrations -v' output looks good" '
echo "12" >expected &&
echo "11" >expected &&
test_cmp expected actual
'

Expand Down

0 comments on commit 3c2d9b1

Please sign in to comment.