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