mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
x/tools/cmd/guru: fix golden files for what query
CL golang.org/cl/37349 broke the tests, because the golden files were not updated appropriately. Change-Id: I9a2a56d1ca74b8bc77935aff26ed6297fbacf232 Reviewed-on: https://go-review.googlesource.com/37770 Reviewed-by: Dominik Honnef <dominik@honnef.co> Run-TryBot: Dominik Honnef <dominik@honnef.co>
This commit is contained in:
parent
3537037b0b
commit
8ffd8eda92
6
cmd/guru/testdata/src/what-json/main.golden
vendored
6
cmd/guru/testdata/src/what-json/main.golden
vendored
@ -41,7 +41,8 @@
|
||||
"freevars",
|
||||
"implements",
|
||||
"pointsto",
|
||||
"referrers"
|
||||
"referrers",
|
||||
"whicherrs"
|
||||
],
|
||||
"srcdir": "testdata/src",
|
||||
"importpath": "what-json"
|
||||
@ -81,7 +82,8 @@
|
||||
"freevars",
|
||||
"implements",
|
||||
"pointsto",
|
||||
"referrers"
|
||||
"referrers",
|
||||
"whicherrs"
|
||||
],
|
||||
"srcdir": "testdata/src",
|
||||
"importpath": "what-json",
|
||||
|
8
cmd/guru/testdata/src/what/main.golden
vendored
8
cmd/guru/testdata/src/what/main.golden
vendored
@ -1,7 +1,7 @@
|
||||
-------- @what pkgdecl --------
|
||||
identifier
|
||||
source file
|
||||
modes: [definition describe freevars implements pointsto referrers]
|
||||
modes: [definition describe freevars implements pointsto referrers whicherrs]
|
||||
srcdir: testdata/src
|
||||
import path: what
|
||||
|
||||
@ -12,7 +12,7 @@ expression statement
|
||||
block
|
||||
function declaration
|
||||
source file
|
||||
modes: [callees callers callstack definition describe freevars implements pointsto referrers]
|
||||
modes: [callees callers callstack definition describe freevars implements pointsto referrers whicherrs]
|
||||
srcdir: testdata/src
|
||||
import path: what
|
||||
|
||||
@ -22,7 +22,7 @@ variable declaration statement
|
||||
block
|
||||
function declaration
|
||||
source file
|
||||
modes: [callers callstack describe freevars pointsto]
|
||||
modes: [callers callstack describe freevars pointsto whicherrs]
|
||||
srcdir: testdata/src
|
||||
import path: what
|
||||
|
||||
@ -33,7 +33,7 @@ expression statement
|
||||
block
|
||||
function declaration
|
||||
source file
|
||||
modes: [callers callstack definition describe freevars implements peers pointsto referrers]
|
||||
modes: [callers callstack definition describe freevars implements peers pointsto referrers whicherrs]
|
||||
srcdir: testdata/src
|
||||
import path: what
|
||||
ch
|
||||
|
Loading…
Reference in New Issue
Block a user