()
| 206 | } |
| 207 | |
| 208 | func (s *tableStats) Empty() []string { |
| 209 | s.mu.Lock() |
| 210 | defer s.mu.Unlock() |
| 211 | |
| 212 | var m []string |
| 213 | for table, n := range s.s { |
| 214 | if n == 0 { |
| 215 | m = append(m, table) |
| 216 | } |
| 217 | } |
| 218 | return m |
| 219 | } |
| 220 | |
| 221 | func TestMigrateUpWithFixtures(t *testing.T) { |
| 222 | t.Parallel() |
no test coverage detected