mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Fix ==
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user