From b237b7fbeca408d458cd8a8a584e1be4d983d551 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 4 Jun 2022 15:17:30 +0200 Subject: [PATCH] test: fix error in custom input test --- options_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options_test.go b/options_test.go index 4b75994..1b77977 100644 --- a/options_test.go +++ b/options_test.go @@ -18,10 +18,10 @@ func TestOptions(t *testing.T) { var b bytes.Buffer p := NewProgram(nil, WithInput(&b)) if p.input != &b { - t.Errorf("expected input to custom, got %v", p.output) + t.Errorf("expected input to custom, got %v", p.input) } if p.startupOptions&withCustomInput == 0 { - t.Errorf("expected startup options to have custom input set, got %v", p.output) + t.Errorf("expected startup options to have custom input set, got %v", p.input) } })