(t *testing.T)
| 57 | } |
| 58 | |
| 59 | func TestGetConfig_NoConfigFiles(t *testing.T) { //nolint:paralleltest // cannot run in parallel |
| 60 | _, _, localDir := setupDirs(t) |
| 61 | |
| 62 | cfg, err := GetConfig(localDir) |
| 63 | assert.NoError(t, err) |
| 64 | assert.Nil(t, cfg) |
| 65 | } |
| 66 | |
| 67 | func TestGetConfig_OnlyXDG(t *testing.T) { //nolint:paralleltest // cannot run in parallel |
| 68 | xdgDir, _, localDir := setupDirs(t) |