cli/command: don't use legacy "notfound" error-type in tests
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -14,9 +14,7 @@ type notFound struct {
|
||||
error
|
||||
}
|
||||
|
||||
func (n notFound) NotFound() bool {
|
||||
return true
|
||||
}
|
||||
func (n notFound) NotFound() {}
|
||||
|
||||
func TestValidateExternalNetworks(t *testing.T) {
|
||||
testcases := []struct {
|
||||
|
||||
Reference in New Issue
Block a user