(t *testing.T)
| 287 | } |
| 288 | |
| 289 | func TestLint_EmptyBodyAllowed(t *testing.T) { |
| 290 | linter := newDefaultLinter(t) |
| 291 | result, err := linter.ParseAndLint("feat: add feature") |
| 292 | if err != nil { |
| 293 | t.Fatal(err) |
| 294 | } |
| 295 | if len(result.Issues()) != 0 { |
| 296 | t.Error("empty body should be allowed by default config") |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | // --------------------------------------------------------------------------- |
| 301 | // Multiple issues in a single commit |
nothing calls this directly
no test coverage detected