release 3.9.0 process: reduce warnings (#279)
* fix(riseupvpn): address gofmt warning Thanks to https://goreportcard.com/report/github.com/ooni/probe-cli. * fix(utils.go): correct the docu-comment Thanks to https://goreportcard.com/report/github.com/ooni/probe-cli * fix: improve spelling Thanks to https://goreportcard.com/report/github.com/ooni/probe-cli * fix(modelx_test.go): avoid inefassign warning Thanks to https://goreportcard.com/report/github.com/ooni/probe-cli * fix: reduce number of ineffective assignments Thanks to https://goreportcard.com/report/github.com/ooni/probe-cli
This commit is contained in:
@@ -78,7 +78,7 @@ func TestMaybeUpdateResourcesWithCancelledContext(t *testing.T) {
|
||||
ctx := sess.NewContext()
|
||||
ctx.Cancel() // cause immediate failure
|
||||
err = sess.MaybeUpdateResources(ctx)
|
||||
// Explaination: we embed resources. We should change the API
|
||||
// Explanation: we embed resources. We should change the API
|
||||
// and remove the context. Until we do that, let us just assert
|
||||
// that we have embedding and the context does not matter.
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user