Skip to content

Commit

Permalink
fix test to look for new version info string
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Feb 22, 2025
1 parent e3879a7 commit b3f7da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/basic_commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestIPFSVersionDeps(t *testing.T) {
res = strings.TrimSpace(res)
lines := SplitLines(res)

assert.Equal(t, "github.com/ipfs/kubo@(devel)", lines[0])
assert.True(t, strings.HasPrefix(lines[0], "github.com/ipfs/kubo@v"))

for _, depLine := range lines[1:] {
split := strings.Split(depLine, " => ")
Expand Down

0 comments on commit b3f7da0

Please sign in to comment.