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:
Sebastiaan van Stijn
2023-05-10 22:37:32 +02:00
parent af83d8f5f2
commit 537b88dab9
3 changed files with 4 additions and 8 deletions

View File

@ -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 {