mirror of
https://github.com/golang/go
synced 2024-11-20 08:04:42 -07:00
go/ast, go/token: actually run tests; fix go/ast test
R=gri CC=golang-dev https://golang.org/cl/5292048
This commit is contained in:
parent
9e1a2adf07
commit
22dd0ba90d
@ -203,9 +203,7 @@ NOTEST+=\
|
||||
exp/gui\
|
||||
exp/gui/x11\
|
||||
exp/sql/driver\
|
||||
go/ast\
|
||||
go/doc\
|
||||
go/token\
|
||||
hash\
|
||||
http/pprof\
|
||||
http/httptest\
|
||||
|
@ -41,10 +41,10 @@ var tests = []struct {
|
||||
4 }`},
|
||||
|
||||
// structs
|
||||
{struct{ x, y int }{42, 991},
|
||||
`0 struct { x int; y int } {
|
||||
1 . x: 42
|
||||
2 . y: 991
|
||||
{struct{ X, Y int }{42, 991},
|
||||
`0 struct { X int; Y int } {
|
||||
1 . X: 42
|
||||
2 . Y: 991
|
||||
3 }`},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user