HasTable Test should clean up.

This commit is contained in:
Robert B Gordon 2014-08-29 08:57:38 -05:00
parent 4ee47c9228
commit 52de7419f2
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ func TestHasTable(t *testing.T) {
Id int Id int
Stuff string Stuff string
} }
db.DropTable(&Foo{})
if table_ok := db.HasTable(&Foo{}); table_ok { if table_ok := db.HasTable(&Foo{}); table_ok {
t.Errorf("Table should not exist, but does") t.Errorf("Table should not exist, but does")
} }