We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c987c75 commit a2cce44Copy full SHA for a2cce44
pkg/analysis/references/testdata/src/a/a.go.golden
@@ -1,9 +1,9 @@
1
package a
2
3
type TestSpec struct {
4
- NodeRef string `json:"nodeReference"`
+ NodeRef string `json:"nodeReference"` // want "field NodeReference should use 'Ref' instead of 'Reference'"
5
6
- NodeRefs []string `json:"nodeReferences"`
+ NodeRefs []string `json:"nodeReferences"` // want "field NodeReferences should use 'Refs' instead of 'References'"
7
8
// AllowedRef field should be valid
9
AllowedRef string `json:"allowedRef"`
test_suggested_fixes.sh
0 commit comments