aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2011-10-20 10:30:01 -0700
committerIan Lance Taylor <iant@golang.org>2011-10-20 10:30:01 -0700
commit22dd0ba90dfd832e5a60ec8ef5b986611e0e8fe9 (patch)
tree8c199fab47b85855416b77e60d5001737100268a
parent9e1a2adf07cb58a0244d1aebf11da368750cd698 (diff)
downloadgo-22dd0ba90dfd832e5a60ec8ef5b986611e0e8fe9.tar.gz
go-22dd0ba90dfd832e5a60ec8ef5b986611e0e8fe9.zip
go/ast, go/token: actually run tests; fix go/ast test
R=gri CC=golang-dev https://golang.org/cl/5292048
-rw-r--r--src/pkg/Makefile2
-rw-r--r--src/pkg/go/ast/print_test.go8
2 files changed, 4 insertions, 6 deletions
diff --git a/src/pkg/Makefile b/src/pkg/Makefile
index e784b26333..ffb1547c56 100644
--- a/src/pkg/Makefile
+++ b/src/pkg/Makefile
@@ -203,9 +203,7 @@ NOTEST+=\
exp/gui\
exp/gui/x11\
exp/sql/driver\
- go/ast\
go/doc\
- go/token\
hash\
http/pprof\
http/httptest\
diff --git a/src/pkg/go/ast/print_test.go b/src/pkg/go/ast/print_test.go
index f4e8f7a78f..a4bc3bb9dc 100644
--- a/src/pkg/go/ast/print_test.go
+++ b/src/pkg/go/ast/print_test.go
@@ -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 }`},
}