File tree Expand file tree Collapse file tree 5 files changed +4
-20
lines changed Expand file tree Collapse file tree 5 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ jobs:
5757 fi
5858
5959 - name : staticcheck .
60- run : staticcheck -checks "inherit,-U1000" ./...
60+ run : staticcheck ./...
6161
6262 - name : staticcheck ./examples
6363 working-directory : ./examples
64- run : staticcheck -checks "inherit,-U1000" ./...
64+ run : staticcheck ./...
6565
6666 - name : staticcheck ./benchmarks
6767 working-directory : ./benchmarks
68- run : staticcheck -checks "inherit,-U1000" ./...
68+ run : staticcheck ./...
Original file line number Diff line number Diff line change @@ -3011,13 +3011,6 @@ func date(v string) civil.Date {
30113011 return res
30123012}
30133013
3014- func nullDate (valid bool , v string ) spanner.NullDate {
3015- if ! valid {
3016- return spanner.NullDate {}
3017- }
3018- return spanner.NullDate {Valid : true , Date : date (v )}
3019- }
3020-
30213014func nullJson (valid bool , v string ) spanner.NullJSON {
30223015 if ! valid {
30233016 return spanner.NullJSON {}
Original file line number Diff line number Diff line change @@ -245,12 +245,6 @@ func skipIfShort(t *testing.T) {
245245 }
246246}
247247
248- func skipIfEmulator (t * testing.T , msg string ) {
249- if runsOnEmulator () {
250- t .Skip (msg )
251- }
252- }
253-
254248func TestQueryContext (t * testing.T ) {
255249 skipIfShort (t )
256250 t .Parallel ()
Original file line number Diff line number Diff line change @@ -336,8 +336,7 @@ type clientSideStatement struct {
336336 ResultType string `json:"resultType"`
337337 Regex string `json:"regex"`
338338 regexp * regexp.Regexp
339- MethodName string `json:"method"`
340- method func (query string ) error
339+ MethodName string `json:"method"`
341340 ExampleStatements []string `json:"exampleStatements"`
342341 ExamplePrerequisiteStatements []string `json:"examplePrerequisiteStatements"`
343342
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ import (
3434// server and will return a one-col-two-rows result set containing the INT64
3535// values 1 and 2.
3636const SelectFooFromBar = "SELECT FOO FROM BAR"
37- const selectFooFromBarRowCount int64 = 2
38- const selectFooFromBarColCount int = 1
3937
4038var selectFooFromBarResults = []int64 {1 , 2 }
4139
You can’t perform that action at this time.
0 commit comments