This commit is contained in:
Alex Dadgar 2016-02-05 15:15:56 -08:00
parent 40a373f9e0
commit 2627b742fa
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ func TestInvalidServiceCheck(t *testing.T) {
Name: "service.name",
PortLabel: "bar",
}
if err := s.Validate(); err != nil {
if err := s.Validate(); err == nil {
t.Fatalf("Service should be invalid: %v", err)
}
}