Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Fix testdata
Browse files Browse the repository at this point in the history
Fix the godep testdata now that dep correctly converts a version
with multiple dashes into a caret, instead of a bad range.
  • Loading branch information
carolynvs committed Aug 7, 2017
1 parent a085554 commit 0cbbebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/dep/godep_importer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ func TestGodepConfig_ConvertProject_WithSemverSuffix(t *testing.T) {
}

v := d.Constraint.String()
if v != ">=1.12.0, <=12.0.0-g2fd980e" {
t.Fatalf("Expected manifest constraint to be >=1.12.0, <=12.0.0-g2fd980e, got %s", v)
if v != "^1.12.0-12-g2fd980e" {
t.Fatalf("Expected manifest constraint to be ^1.12.0-12-g2fd980e, got %s", v)
}

p := lock.P[0]
Expand Down

0 comments on commit 0cbbebd

Please sign in to comment.