mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-07 14:59:23 -05:00
Added logging #18, set Dockerfile to Go 1.16.5, minor changes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user