Commit 9d4d7d8f authored by Roger Peppe's avatar Roger Peppe Committed by Robert Griesemer

Fix bug that prevented the gofmt test script being run on more

than one explicitly named file.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/186095
parent 46206c52
...@@ -129,7 +129,7 @@ runtest() { ...@@ -129,7 +129,7 @@ runtest() {
runtests() { runtests() {
if [ "$@" = "" ]; then if [ $# = 0 ]; then
runtest apply runtest apply
# verify the pretty-printed files can be compiled with $GC again # verify the pretty-printed files can be compiled with $GC again
# do it in local directory only because of the prerequisites required # do it in local directory only because of the prerequisites required
...@@ -146,7 +146,7 @@ runtests() { ...@@ -146,7 +146,7 @@ runtests() {
# run over all .go files # run over all .go files
runtests "$*" runtests "$@"
cleanup cleanup
# done # done
......
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