(t *testing.T)
| 601 | } |
| 602 | |
| 603 | func TestLoadEmptyConfigFile(t *testing.T) { |
| 604 | conf, err := parseCreationRuleForFile(parseConfigFile(sampleEmptyConfig, t), "/conf/path", "foobar2000", nil) |
| 605 | assert.Nil(t, conf) |
| 606 | assert.Nil(t, err) |
| 607 | } |
| 608 | |
| 609 | func TestLoadConfigFileWithEmptyCreationRules(t *testing.T) { |
| 610 | conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithEmptyCreationRules, t), "/conf/path", "foobar2000", nil) |
nothing calls this directly
no test coverage detected