(t *testing.T)
| 77 | } |
| 78 | |
| 79 | func TestInvalidConfig(t *testing.T) { |
| 80 | err := Validate(&Config{ |
| 81 | SQL: []SQL{{ |
| 82 | Database: &Database{ |
| 83 | URI: "", |
| 84 | Managed: false, |
| 85 | }, |
| 86 | }}, |
| 87 | }) |
| 88 | if err == nil { |
| 89 | t.Errorf("expected err; got nil") |
| 90 | } |
| 91 | } |
nothing calls this directly
no test coverage detected