mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Small change in the test
This commit is contained in:
@@ -574,7 +574,7 @@ func TestRunnerDockerInvalidSyslog(t *testing.T) {
|
||||
if err == nil {
|
||||
t.Fatal("Error expected when running with invalid syslog configuration")
|
||||
}
|
||||
if err.Error() != models.ErrSyslogUnavailable.Error() {
|
||||
if err != models.ErrSyslogUnavailable {
|
||||
t.Fatalf("Error message expected: `Syslog Unavailable`, got `%s`", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user