(t *testing.T)
| 249 | } |
| 250 | |
| 251 | func TestParseSQLs(t *testing.T) { |
| 252 | for i, test := range testData { |
| 253 | msg := fmt.Sprintf("sql-%d", i) |
| 254 | codes, err := ParseSQL(test[0], WithNoNullType()) |
| 255 | if !assert.NoError(t, err, msg) { |
| 256 | continue |
| 257 | } |
| 258 | for k, v := range codes { |
| 259 | if len(v) > 100 { |
| 260 | v = v[:100] |
| 261 | } |
| 262 | t.Log(i+1, k, v) |
| 263 | } |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | func Test_parseOption(t *testing.T) { |
| 268 | opts := []Option{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…