(t *testing.T)
| 607 | } |
| 608 | |
| 609 | func TestLoadConfigFileWithEmptyCreationRules(t *testing.T) { |
| 610 | conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithEmptyCreationRules, t), "/conf/path", "foobar2000", nil) |
| 611 | assert.Nil(t, conf) |
| 612 | assert.Nil(t, err) |
| 613 | } |
| 614 | |
| 615 | func TestLoadConfigFileWithOnlyDestinationRules(t *testing.T) { |
| 616 | conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithOnlyDestinationRules, t), "/conf/path", "foobar2000", nil) |
nothing calls this directly
no test coverage detected