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+=\ ...@@ -203,9 +203,7 @@ NOTEST+=\
exp/gui\ exp/gui\
exp/gui/x11\ exp/gui/x11\
exp/sql/driver\ exp/sql/driver\
go/ast\
go/doc\ go/doc\
go/token\
hash\ hash\
http/pprof\ http/pprof\
http/httptest\ http/httptest\
......
...@@ -41,10 +41,10 @@ var tests = []struct { ...@@ -41,10 +41,10 @@ var tests = []struct {
4 }`}, 4 }`},
// structs // structs
{struct{ x, y int }{42, 991}, {struct{ X, Y int }{42, 991},
`0 struct { x int; y int } { `0 struct { X int; Y int } {
1 . x: 42 1 . X: 42
2 . y: 991 2 . Y: 991
3 }`}, 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