浏览代码

Fix hard coded path

morganamilo 6 年之前
父节点
当前提交
23d45b1e77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config_test.go

+ 1 - 1
config_test.go

@@ -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 {