aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-07-09 13:11:20 -0700
committerRobert Griesemer <gri@golang.org>2010-07-09 13:11:20 -0700
commit71ed4eb7a55cd31931fae29da641174f5cf2a479 (patch)
tree5257089d01ec71e5ca0cc2129f379d91b69be2e9
parentd87f7e2392a540b04e5630bfb384d33747a09949 (diff)
downloadgo-71ed4eb7a55cd31931fae29da641174f5cf2a479.tar.gz
go-71ed4eb7a55cd31931fae29da641174f5cf2a479.zip
fix build: adjustest a few tests that I missed before
R=r CC=golang-dev https://golang.org/cl/1762044
-rw-r--r--src/pkg/go/printer/testdata/declarations.golden6
-rw-r--r--src/pkg/go/printer/testdata/declarations.input6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/pkg/go/printer/testdata/declarations.golden b/src/pkg/go/printer/testdata/declarations.golden
index 67f16b8052..56b99e19b4 100644
--- a/src/pkg/go/printer/testdata/declarations.golden
+++ b/src/pkg/go/printer/testdata/declarations.golden
@@ -617,24 +617,22 @@ func _() {
// ellipsis parameters
-func _(...)
func _(...int)
func _(...*int)
func _(...[]int)
func _(...struct{})
func _(bool, ...interface{})
func _(bool, ...func())
-func _(bool, ...func(...))
+func _(bool, ...func(...int))
func _(bool, ...map[string]int)
func _(bool, ...chan int)
-func _(b bool, x ...)
func _(b bool, x ...int)
func _(b bool, x ...*int)
func _(b bool, x ...[]int)
func _(b bool, x ...struct{})
func _(x ...interface{})
func _(x ...func())
-func _(x ...func(...))
+func _(x ...func(...int))
func _(x ...map[string]int)
func _(x ...chan int)
diff --git a/src/pkg/go/printer/testdata/declarations.input b/src/pkg/go/printer/testdata/declarations.input
index 095d1ddace..eb1baae043 100644
--- a/src/pkg/go/printer/testdata/declarations.input
+++ b/src/pkg/go/printer/testdata/declarations.input
@@ -605,24 +605,22 @@ func _() {
// ellipsis parameters
-func _(...)
func _(...int)
func _(...*int)
func _(...[]int)
func _(...struct{})
func _(bool, ...interface{})
func _(bool, ...func())
-func _(bool, ...func(...))
+func _(bool, ...func(...int))
func _(bool, ...map[string]int)
func _(bool, ...chan int)
-func _(b bool, x ...)
func _(b bool, x ...int)
func _(b bool, x ...*int)
func _(b bool, x ...[]int)
func _(b bool, x ...struct{})
func _(x ...interface{})
func _(x ...func())
-func _(x ...func(...))
+func _(x ...func(...int))
func _(x ...map[string]int)
func _(x ...chan int)