Skip to content

Commit

Permalink
Fix tests in main_test.go.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodauria committed Feb 12, 2020
1 parent 503832a commit 5ced86e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/ndt7-client/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
"fmt"
"testing"

"github.com/m-lab/ndt7-client-go/cmd/ndt7-client/internal"

"github.com/m-lab/ndt7-client-go/cmd/ndt7-client/internal/emitter"
"github.com/m-lab/ndt7-client-go/cmd/ndt7-client/internal/mocks"

Expand Down Expand Up @@ -96,6 +98,10 @@ func (me mockedEmitter) OnComplete(test spec.TestKind) error {
return me.CompleteError
}

func (me mockedEmitter) OnSummary(*internal.Summary) error {
return nil
}

func TestRunTestOnStartingError(t *testing.T) {
runner := runner{
client: ndt7.NewClient(clientName, clientVersion),
Expand Down

0 comments on commit 5ced86e

Please sign in to comment.