@ -63,10 +63,6 @@ func TestLoadAbraConfigGetAbraDir(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
t.Run("from config file", func(t *testing.T) {
|
t.Run("from config file", func(t *testing.T) {
|
||||||
wd, err := os.Getwd()
|
|
||||||
if err != nil {
|
|
||||||
log.Fatal(err)
|
|
||||||
}
|
|
||||||
t.Cleanup(func() { os.Chdir(wd) })
|
t.Cleanup(func() { os.Chdir(wd) })
|
||||||
err = os.Chdir(filepath.Join(wd, "testdata/abraconfig1"))
|
err = os.Chdir(filepath.Join(wd, "testdata/abraconfig1"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user