summaryrefslogtreecommitdiff
path: root/parse.go
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2024-04-02 12:14:49 -0400
committerGitHub <[email protected]>2024-04-02 12:14:49 -0400
commit188bd31bf60d57a7196c7547dd4bcd73298637ea (patch)
tree63dd4d7458816abe80e45277b0d171d231837dae /parse.go
parentbf629a16cbe505e81b6347813a918770a3b727df (diff)
parent8a917260c38a68937883b35da0851d3da179d9a2 (diff)
Merge pull request #244 from alexflint/restore-100pct-coverage
Restore 100% test coverage
Diffstat (limited to 'parse.go')
-rw-r--r--parse.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/parse.go b/parse.go
index 169e8cc..45e4751 100644
--- a/parse.go
+++ b/parse.go
@@ -86,13 +86,6 @@ func MustParse(dest ...interface{}) *Parser {
// mustParse is a helper that facilitates testing
func mustParse(config Config, dest ...interface{}) *Parser {
- if config.Exit == nil {
- config.Exit = os.Exit
- }
- if config.Out == nil {
- config.Out = os.Stdout
- }
-
p, err := NewParser(config, dest...)
if err != nil {
fmt.Fprintln(config.Out, err)