Add CallDummy function for easier testing

This commit is contained in:
rwxrob 2022-04-14 07:49:57 -04:00
parent b8c103378a
commit 7a319fdcc2
No known key found for this signature in database
GPG Key ID: 2B9111F33082AE77

View File

@ -312,3 +312,6 @@ var TrapPanic = func() {
}
}
}
// CallDummy is useful for testing when non-nil Call function needed.
var CallDummy = func(_ *Cmd, args ...string) error { return nil }