You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds an unwanted dependency to programs that import the spanner module. Imports of "testing" should be limited to _test.go files or test packages that don't get imported by production packages.
Expected behavior
$ go list -deps cloud.google.com/go/spanner | grep '^testing$'
should have an empty result
Actual behavior
$ go list -deps cloud.google.com/go/spanner | grep '^testing$'
testing
spanner v1.29.0 imports the standard library "testing" package: https://github.com/googleapis/google-cloud-go/blob/spanner/v1.29.0/spanner/stats.go#L22
This adds an unwanted dependency to programs that import the spanner module. Imports of "testing" should be limited to _test.go files or test packages that don't get imported by production packages.
Expected behavior
should have an empty result
Actual behavior
Additional context
Added in this PR: #5199
The text was updated successfully, but these errors were encountered: