]> Cypherpunks repositories - gostls13.git/commit
go/printer: fix test for new import path restrictions
authorAnthony Martin <ality@pbrane.org>
Mon, 27 Feb 2012 18:01:45 +0000 (10:01 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 27 Feb 2012 18:01:45 +0000 (10:01 -0800)
commit0706d00cb8af873b82a0a0878e595a4369a76e52
tree0d818e01c86deaec1b680682fecb64c552111068
parent56ae9032b23b089100e0e9c762f0e6326ec6990a
go/printer: fix test for new import path restrictions

Import paths with spaces are now invalid.

The builders would've caught this if they were running
the long tests.  I've removed the check for short tests
in this package since the current tests are fast enough
already.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5694082
src/pkg/go/printer/printer_test.go
src/pkg/go/printer/testdata/declarations.golden
src/pkg/go/printer/testdata/declarations.input