1
0
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:
David R. Jenni 2017-03-04 17:46:29 +01:00 committed by Dominik Honnef
parent 3537037b0b
commit 8ffd8eda92
2 changed files with 8 additions and 6 deletions

View File

@ -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",

View File

@ -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