Merge pull request #42 from DylanJ/gosimple

Fix gosimple warning in exist tests
This commit is contained in:
Aaron L 2016-09-20 19:30:50 -07:00 committed by GitHub
commit 23aca7a9ce

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