(t *testing.T)
| 578 | } |
| 579 | |
| 580 | func TestLoadConfigFileWithNoMatchingRules(t *testing.T) { |
| 581 | _, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithNoMatchingRules, t), "/conf/path", "foobar2000", nil) |
| 582 | assert.NotNil(t, err) |
| 583 | } |
| 584 | |
| 585 | func TestLoadConfigFileWithInvalidComplicatedRegexp(t *testing.T) { |
| 586 | conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithInvalidComplicatedRegexp, t), "/conf/path", "stage/prod/api.yml", nil) |
nothing calls this directly
no test coverage detected