1
0
Fork 0
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:
Michael Engelhardt 2020-11-20 06:59:43 +01:00
parent 3985c6c483
commit 4dd57b45e9

View file

@ -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)
}
}