mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
fix misleading messages on failing tests
This commit is contained in:
parent
3985c6c483
commit
4dd57b45e9
1 changed files with 2 additions and 2 deletions
|
@ -262,11 +262,11 @@ services:
|
|||
}
|
||||
|
||||
if config.Web.Address != DefaultAddress {
|
||||
t.Errorf("Bind address should have been %s, because it is specified in config", DefaultAddress)
|
||||
t.Errorf("Bind address should have been %s, because it is the default value", DefaultAddress)
|
||||
}
|
||||
|
||||
if config.Web.Port != DefaultPort {
|
||||
t.Errorf("Port should have been %d, because it is specified in config", DefaultPort)
|
||||
t.Errorf("Port should have been %d, because it is the default value", DefaultPort)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue