Skip to content

Commit

Permalink
fixed the test for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
skeswa committed Oct 22, 2016
1 parent 4f4315b commit 7e39511
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/verdeps/process_deps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ func TestProcessDeps(t *testing.T) {
importRevStrings[`filepath1:101:117:"gophr.pm/a/b@someshathatdoesnotmatter"`],
ShouldBeTrue)
})

Convey("An error not should be raised if a SHA request fails", func() {
var (
fetchSHA shaFetcher
Expand All @@ -528,6 +527,11 @@ func TestProcessDeps(t *testing.T) {
args.outputChan <- newFetchSHAFailure(errors.New("this is an error"))
}
reviseDeps = func(args reviseDepsArgs) {
// Read the input revisions, and record what comes through.
for range args.inputChan {
// No-op (we don't care about what comes through.)
}

// Don't expect anything to come through - so, just exit.
args.revisionWaitGroup.Done()
}
Expand Down

0 comments on commit 7e39511

Please sign in to comment.