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

Commit

Permalink
Merge pull request #1083 from darkowlzz/root-analyzer-test-fail-messages
Browse files Browse the repository at this point in the history
root_analyzer_test: correct message var placement
  • Loading branch information
darkowlzz authored Aug 29, 2017
2 parents d230092 + 34d8e72 commit 153953d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/dep/root_analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func TestIsVersion(t *testing.T) {
}

if testcase.wantVersion != gotVersion {
t.Fatalf("unexpected version for %s: \n\t(GOT) %v \n\t(WNT) %v", value, testcase.wantVersion, gotVersion)
t.Fatalf("unexpected version for %s: \n\t(GOT) %v \n\t(WNT) %v", value, gotVersion, testcase.wantVersion)
}
})
}
Expand Down Expand Up @@ -278,13 +278,13 @@ func validateConvertTestCase(testCase *convertTestCase, manifest *dep.Manifest,

if gotRevision != testCase.wantRevision {
return errors.Errorf("unexpected locked revision : \n\t(GOT) %v \n\t(WNT) %v",
testCase.wantRevision,
gotRevision)
gotRevision,
testCase.wantRevision)
}
if gotVersion != testCase.wantVersion {
return errors.Errorf("unexpected locked version: \n\t(GOT) %v \n\t(WNT) %v",
testCase.wantVersion,
gotVersion)
gotVersion,
testCase.wantVersion)
}
}
return nil
Expand Down

0 comments on commit 153953d

Please sign in to comment.