mirror of
https://github.com/rwxrob/bonzai
synced 2024-11-16 21:25:44 +00:00
Add CallDummy function for easier testing
This commit is contained in:
parent
b8c103378a
commit
7a319fdcc2
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user