(t *testing.T, sdkVersion, specVersion string)
| 77 | } |
| 78 | |
| 79 | func stubDropboxVersion(t *testing.T, sdkVersion, specVersion string) { |
| 80 | t.Helper() |
| 81 | |
| 82 | previous := dropboxVersionFunc |
| 83 | dropboxVersionFunc = func() (string, string) { |
| 84 | return sdkVersion, specVersion |
| 85 | } |
| 86 | t.Cleanup(func() { |
| 87 | dropboxVersionFunc = previous |
| 88 | }) |
| 89 | } |
no outgoing calls
no test coverage detected