diff --git a/cmd/guru/testdata/src/what-json/main.golden b/cmd/guru/testdata/src/what-json/main.golden index 5008d67a74..320c52bd45 100644 --- a/cmd/guru/testdata/src/what-json/main.golden +++ b/cmd/guru/testdata/src/what-json/main.golden @@ -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", diff --git a/cmd/guru/testdata/src/what/main.golden b/cmd/guru/testdata/src/what/main.golden index 74640c8071..f113e2f85f 100644 --- a/cmd/guru/testdata/src/what/main.golden +++ b/cmd/guru/testdata/src/what/main.golden @@ -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