(t *testing.T, reason string)
| 268 | } |
| 269 | |
| 270 | func tidbSkip(t *testing.T, reason string) { |
| 271 | if isTiDB() { |
| 272 | t.Skipf("This test case skipped, because of TiDB '%s'", reason) |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | func isTiDB() bool { |
| 277 | return os.Getenv("GORM_DIALECT") == "tidb" |
no test coverage detected