(t *testing.T, c gh.Config, r gh.TokenRefresher)
| 1139 | } |
| 1140 | |
| 1141 | func setRefresher(t *testing.T, c gh.Config, r gh.TokenRefresher) { |
| 1142 | t.Helper() |
| 1143 | c.Authentication().(*config.AuthConfig).SetTokenRefresher(r) |
| 1144 | } |
| 1145 | |
| 1146 | // replaceAll replaces all instances of old with new in s, as well as all instances |
| 1147 | // of the JSON-escaped version of old with the JSON-escaped version of new. |
no test coverage detected