Commit 75ca383
authored
Fix some static check warnings (#252)
firefox/capabilities.go:67:2: only the first constant in this group has an explicit type (SA9004)
internal/seleniumtest/seleniumtest.go:719:6: func v is unused (U1000)
internal/seleniumtest/seleniumtest.go:1022:8: should use time.Since instead of time.Now().Sub (S1012)
remote.go:936:7: should use strings.EqualFold instead (SA6005)
selenium.go:220:2: only the first constant in this group has an explicit type (SA9004)
selenium_test.go:42:3: should use fmt.Fprintf instead of fmt.Fprint(fmt.Sprintf(...)) (S1038)
selenium_test.go:145:10: this result of append is never used, except maybe in other appends (SA4010)
selenium_test.go:149:3: this value of opts is never used (SA4006)
selenium_test.go:149:10: this result of append is never used, except maybe in other appends (SA4010)1 parent 0862687 commit 75ca383
5 files changed
Lines changed: 14 additions & 19 deletions
File tree
- firefox
- internal/seleniumtest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | 719 | | |
724 | 720 | | |
725 | 721 | | |
| |||
1019 | 1015 | | |
1020 | 1016 | | |
1021 | 1017 | | |
1022 | | - | |
| 1018 | + | |
1023 | 1019 | | |
1024 | 1020 | | |
1025 | 1021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
| 936 | + | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | 143 | | |
145 | | - | |
| 144 | + | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
149 | | - | |
| 148 | + | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
0 commit comments