check error in test

This commit is contained in:
Alex Flint 2019-04-30 11:17:03 -07:00
parent e86673b20a
commit 2267a58718
1 changed files with 1 additions and 0 deletions

View File

@ -979,6 +979,7 @@ func TestReuseParser(t *testing.T) {
require.NoError(t, err)
err = p.Parse([]string{"--foo=abc"})
require.NoError(t, err)
assert.Equal(t, args.Foo, "abc")
err = p.Parse([]string{})