Skip to content

Commit

Permalink
Minor corrections to satisfy golint and govet.
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Oct 4, 2015
1 parent 162146f commit 22a40b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion debug_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func TestDebugPauseDefault(t *testing.T) {
case <-time.After(100 * time.Millisecond):
}

w.Write([]byte("\n\n"))
_, _ = w.Write([]byte("\n\n")) // ignore error

select {
case <-complete:
Expand Down
4 changes: 2 additions & 2 deletions multistep.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// multistep is a library for bulding up complex actions using individual,
// discrete steps.
// Package multistep is a library for bulding up complex actions using
// individual, discrete steps.
package multistep

// A StepAction determines the next step to take regarding multi-step actions.
Expand Down
2 changes: 1 addition & 1 deletion multistep_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (s TestStepSync) Cleanup(StateBag) {}

func (s TestStepWaitForever) Run(StateBag) StepAction {
select {}
return ActionContinue
// unreachable
}

func (s TestStepWaitForever) Cleanup(StateBag) {}
Expand Down

0 comments on commit 22a40b8

Please sign in to comment.