Commit 22dd0ba9 authored by Ian Lance Taylor's avatar Ian Lance Taylor

go/ast, go/token: actually run tests; fix go/ast test

R=gri
CC=golang-dev
https://golang.org/cl/5292048
parent 9e1a2adf
......@@ -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 }`},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment