(t *testing.T, testCases []envTestCase)
| 29 | } |
| 30 | |
| 31 | func testCustomDirs(t *testing.T, testCases []envTestCase) { |
| 32 | for _, tc := range testCases { |
| 33 | t.Setenv(tc.envKey, tc.envVal) |
| 34 | |
| 35 | Reload() |
| 36 | |
| 37 | assert.Equal(t, *tc.got, tc.expected, "result mismatch") |
| 38 | } |
| 39 | } |
no test coverage detected