Fix hard coded path

This commit is contained in:
morganamilo 2018-09-15 21:27:31 +01:00
parent 07b7be3788
commit 23d45b1e77
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -14,7 +14,7 @@ func expect(t *testing.T, field string, a interface{}, b interface{}, err error)
}
func TestConfig(t *testing.T) {
config.PacmanConf = "/home/morganamilo/git/yay/testdata/pacman.conf"
config.PacmanConf = "testdata/pacman.conf"
err := initAlpm()
if err != nil {