TestValidatePathsUnsupported asserts that an error is returned on unsupported platforms
(t *testing.T)
| 143 | // TestValidatePathsUnsupported asserts that an error is returned on |
| 144 | // unsupported platforms |
| 145 | func TestValidatePathsUnsupported(t *testing.T) { |
| 146 | _, err := Paths("unsupported", "", map[string]string{}) |
| 147 | if err == nil { |
| 148 | t.Errorf("failed to return error on unsupported platform") |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | // TestValidatePathsCheatConfigPath asserts that the proper config path is |
| 153 | // returned when `CHEAT_CONFIG_PATH` is explicitly specified. |