diff --git a/debug_runner_test.go b/debug_runner_test.go index aae905d..a071da6 100644 --- a/debug_runner_test.go +++ b/debug_runner_test.go @@ -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: diff --git a/multistep.go b/multistep.go index feef140..00784bb 100644 --- a/multistep.go +++ b/multistep.go @@ -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. diff --git a/multistep_test.go b/multistep_test.go index bc035b8..753ea9f 100644 --- a/multistep_test.go +++ b/multistep_test.go @@ -60,7 +60,7 @@ func (s TestStepSync) Cleanup(StateBag) {} func (s TestStepWaitForever) Run(StateBag) StepAction { select {} - return ActionContinue + // unreachable } func (s TestStepWaitForever) Cleanup(StateBag) {}