Merge pull request #709 from Morganamilo/fixtest

Fix hard coded path
This commit is contained in:
Anna 2018-09-15 21:28:29 +01:00 committed by GitHub
commit 380cc142dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {