Fix gosimple warning in exist tests
This commit is contained in:
parent
e3ba6f93d7
commit
c112ce367e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func test{{$tableNamePlural}}Exists(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Unable to check if {{$tableNameSingular}} exists: %s", err)
|
t.Errorf("Unable to check if {{$tableNameSingular}} exists: %s", err)
|
||||||
}
|
}
|
||||||
if e != true {
|
if !e {
|
||||||
t.Errorf("Expected {{$tableNameSingular}}ExistsG to return true, but got false.")
|
t.Errorf("Expected {{$tableNameSingular}}ExistsG to return true, but got false.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue