From c112ce367e736ac9dd253ac6aa26b6bb9ea42cde Mon Sep 17 00:00:00 2001
From: Dylan Johnston <qdylanj@gmail.com>
Date: Wed, 21 Sep 2016 00:35:03 +0200
Subject: [PATCH] Fix gosimple warning in exist tests

---
 templates_test/exists.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates_test/exists.tpl b/templates_test/exists.tpl
index 30bbcfb..b513fb7 100644
--- a/templates_test/exists.tpl
+++ b/templates_test/exists.tpl
@@ -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.")
 	}
 }