do not require --default-backend-service
This commit is contained in:
parent
5ce3809457
commit
b3a22f7fc0
9 changed files with 97 additions and 143 deletions
|
|
@ -31,10 +31,10 @@ func resetForTesting(usage func()) {
|
|||
flag.Usage = usage
|
||||
}
|
||||
|
||||
func TestMandatoryFlag(t *testing.T) {
|
||||
func TestNoMandatoryFlag(t *testing.T) {
|
||||
_, _, err := parseFlags()
|
||||
if err == nil {
|
||||
t.Fatalf("Expected an error about default backend service")
|
||||
if err != nil {
|
||||
t.Fatalf("Expected no error but got: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue