Skip to content

Commit

Permalink
chore(test): use IRL tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bdronneau authored and ViBiOh committed Sep 3, 2021
1 parent e4cb1b2 commit 50c47bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/model/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ func TestURL(t *testing.T) {
},
{
"github",
NewGithubRepository(0, "vibioh/ketchup").AddVersion(DefaultPattern, "1.0.0"),
NewGithubRepository(0, "vibioh/ketchup").AddVersion(DefaultPattern, "v1.0.0"),
args{
pattern: DefaultPattern,
},
"https://github.com/vibioh/ketchup/releases/tag/1.0.0",
"https://github.com/vibioh/ketchup/releases/tag/v1.0.0",
},
}

Expand Down Expand Up @@ -99,12 +99,12 @@ func TestCompareURL(t *testing.T) {
},
{
"github",
NewGithubRepository(0, "vibioh/ketchup").AddVersion(DefaultPattern, "1.1.0"),
NewGithubRepository(0, "vibioh/ketchup").AddVersion(DefaultPattern, "v1.1.0"),
args{
version: "1.0.0",
version: "v1.0.0",
pattern: DefaultPattern,
},
"https://github.com/vibioh/ketchup/compare/1.0.0...1.1.0",
"https://github.com/vibioh/ketchup/compare/v1.0.0...v1.1.0",
},
}

Expand Down

0 comments on commit 50c47bc

Please sign in to comment.