diff options
| author | Alex Flint <[email protected]> | 2022-10-29 14:47:13 -0400 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2022-10-29 14:47:13 -0400 |
| commit | 27c832b934678d80580efd9940e5183ef3d687da (patch) | |
| tree | 3e0793345f62b089746d517aae7453ff29715151 /usage_test.go | |
| parent | 197e226c771464f7c0b66cc2a2bbfb646010dc52 (diff) | |
store both a default value and a string representation of that default value in the spec for each option
Diffstat (limited to 'usage_test.go')
| -rw-r--r-- | usage_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usage_test.go b/usage_test.go index 0a7ddd8..10072c1 100644 --- a/usage_test.go +++ b/usage_test.go @@ -474,7 +474,7 @@ Options: ShortOnly2 string `arg:"-b,--,required" help:"some help2"` } p, err := NewParser(Config{Program: "example"}, &args) - assert.NoError(t, err) + require.NoError(t, err) var help bytes.Buffer p.WriteHelp(&help) |
