Skip to content

Commit

Permalink
Inline buffer init
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsutherland committed Nov 20, 2018
1 parent 0e00b89 commit dacfa65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/configure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ func TestConfigureShow(t *testing.T) {
Err = oldErr
}()

var buf bytes.Buffer
Err = &buf
Err = &bytes.Buffer{}

flags := pflag.NewFlagSet("fake", pflag.PanicOnError)
setupConfigureFlags(flags)
Expand Down

0 comments on commit dacfa65

Please sign in to comment.