// Close closes the test pool and deletes the testing database.
Close closes the test pool and deletes the testing database.
// Close closes the test pool and deletes the testing database .
func (t *TestPool) Close() {
	if t.Pool != nil && !t.closed {
		t.closed = true
		t.Pool.Close()
	}
	err := t.dropTestDB()
	if err != nil {
		fmt.Println(err)
	}
}
func ( t * TestPool ) Close ( ) { if t . Pool != nil && ! t . closed { t . closed = true t . Pool . Close ( ) } err := t . dropTestDB ( ) if err != nil { fmt . Println ( err ) } }
Close closes the test pool and deletes the testing database.
Close closes the test pool and deletes the testing database .