From 52de7419f24216d263265ed366236d2456c0c599 Mon Sep 17 00:00:00 2001 From: Robert B Gordon Date: Fri, 29 Aug 2014 08:57:38 -0500 Subject: [PATCH] HasTable Test should clean up. --- main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main_test.go b/main_test.go index 0555ef67..8abc5bf0 100644 --- a/main_test.go +++ b/main_test.go @@ -133,6 +133,7 @@ func TestHasTable(t *testing.T) { Id int Stuff string } + db.DropTable(&Foo{}) if table_ok := db.HasTable(&Foo{}); table_ok { t.Errorf("Table should not exist, but does") }