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

Commit

Permalink
test(status): consolidated constraint with override
Browse files Browse the repository at this point in the history
  • Loading branch information
darkowlzz committed Aug 12, 2017
1 parent 9300b62 commit c6b462b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/dep/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ func TestBasicStatusGetConsolidatedConstraint(t *testing.T) {
},
wantConstraint: "1.2.1",
},
{
name: "BasicStatus with Override",
basicStatus: BasicStatus{
Constraint: aSemverConstraint,
hasOverride: true,
},
wantConstraint: "1.2.1 (override)",
},
}

for _, tc := range testCases {
Expand Down

0 comments on commit c6b462b

Please sign in to comment.