mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2025-02-01 22:31:39 +01:00
Merge pull request #110 from mattchrist/master
config_test.go use correct path for config.test.yml
This commit is contained in:
commit
8de2156848
@ -33,7 +33,7 @@ func TestShouldParse(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func loadTestFile(t *testing.T) []byte {
|
func loadTestFile(t *testing.T) []byte {
|
||||||
b, err := ioutil.ReadFile("test/config.test.yml")
|
b, err := ioutil.ReadFile("config.test.yml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("could not load config: %v", err)
|
t.Fatalf("could not load config: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user