Fix gosimple warning in exist tests

This commit is contained in:
Dylan Johnston 2016-09-21 00:35:03 +02:00
parent e3ba6f93d7
commit c112ce367e

View file

@ -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.")
}
}