mirror of
https://github.com/golang/go
synced 2024-11-18 22:24:50 -07:00
go.tools/oracle: adjust golden output to new names
R=adonovan TBR=adonovan CC=golang-codereviews https://golang.org/cl/49530049
This commit is contained in:
parent
179e0b3699
commit
29ac1365f4
4
oracle/testdata/src/main/describe.golden
vendored
4
oracle/testdata/src/main/describe.golden
vendored
@ -6,7 +6,7 @@ definition of package "describe"
|
||||
method (D) f()
|
||||
type I interface{f()}
|
||||
method (I) f()
|
||||
const c untyped integer = 0
|
||||
const c untyped int = 0
|
||||
type cake float64
|
||||
var global *string
|
||||
func main func()
|
||||
@ -17,7 +17,7 @@ definition of package "describe"
|
||||
reference to built-in type float64
|
||||
|
||||
-------- @describe const-ref-iota --------
|
||||
reference to const iota untyped integer of constant value 0
|
||||
reference to const iota untyped int of constant value 0
|
||||
|
||||
-------- @describe const-def-pi --------
|
||||
definition of const pi untyped float
|
||||
|
2
oracle/testdata/src/main/freevars.golden
vendored
2
oracle/testdata/src/main/freevars.golden
vendored
@ -10,7 +10,7 @@ var s.t.a int
|
||||
var s.t.b int
|
||||
var s.x int
|
||||
var x int
|
||||
var y int32
|
||||
var y rune
|
||||
|
||||
-------- @freevars fv3 --------
|
||||
Free identifiers:
|
||||
|
6
oracle/testdata/src/main/imports.golden
vendored
6
oracle/testdata/src/main/imports.golden
vendored
@ -1,13 +1,13 @@
|
||||
-------- @describe ref-pkg-import --------
|
||||
import of package "lib"
|
||||
const Const untyped integer = 3
|
||||
const Const untyped int = 3
|
||||
func Func func()
|
||||
type Type int
|
||||
method (Type) Method(x *int) *int
|
||||
var Var int
|
||||
|
||||
-------- @describe ref-const --------
|
||||
reference to const lib.Const untyped integer
|
||||
reference to const lib.Const untyped int
|
||||
defined here
|
||||
|
||||
-------- @describe ref-func --------
|
||||
@ -34,7 +34,7 @@ this *int may point to these objects:
|
||||
|
||||
-------- @describe ref-pkg --------
|
||||
reference to package "lib"
|
||||
const Const untyped integer = 3
|
||||
const Const untyped int = 3
|
||||
func Func func()
|
||||
type Type int
|
||||
method (Type) Method(x *int) *int
|
||||
|
Loading…
Reference in New Issue
Block a user