Merge pull request #42 from DylanJ/gosimple
Fix gosimple warning in exist tests
This commit is contained in:
commit
23aca7a9ce
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func test{{$tableNamePlural}}Exists(t *testing.T) {
|
|||
if err != nil {
|
||||
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.")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue