Added logging #18, set Dockerfile to Go 1.16.5, minor changes

This commit is contained in:
Marc Ole Bulling
2021-06-16 19:44:27 +02:00
parent 5068b742aa
commit 6cffccb3be
11 changed files with 151 additions and 10 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ func IsNil(t MockT, got error) {
func FileExists(t MockT, name string) {
t.Helper()
if !fileExists(name) {
t.Errorf("Assertion failed, file does not exist: %s, want: nil.", name)
t.Errorf("Assertion failed, file does not exist: %s, want: Exists.", name)
}
}
@@ -98,7 +98,7 @@ func FileExists(t MockT, name string) {
func FileDoesNotExist(t MockT, name string) {
t.Helper()
if fileExists(name) {
t.Errorf("Assertion failed, file exist: %s, want: nil.", name)
t.Errorf("Assertion failed, file exist: %s, want: Does not exist", name)
}
}