mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2025-01-21 20:41:45 +01:00
config_test.go use correct path for config.test.yml
This commit is contained in:
parent
89d2364898
commit
bed9528208
@ -33,7 +33,7 @@ func TestShouldParse(t *testing.T) {
|
||||
}
|
||||
|
||||
func loadTestFile(t *testing.T) []byte {
|
||||
b, err := ioutil.ReadFile("test/config.test.yml")
|
||||
b, err := ioutil.ReadFile("config.test.yml")
|
||||
if err != nil {
|
||||
t.Fatalf("could not load config: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user