single argument panic

note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.

stop on error in doc/progs/run

R=r
CC=golang-dev
https://golang.org/cl/850041
This commit is contained in:
Russ Cox 2010-03-30 10:34:57 -07:00
parent 5d0ec6c076
commit 00f9f0c056
60 changed files with 929 additions and 813 deletions

View file

@ -101,7 +101,8 @@ var ftoatests = []ftoaTest{
func TestFtoa(t *testing.T) {
if FloatSize != 32 {
panic("floatsize: ", FloatSize)
println("floatsize: ", FloatSize)
panic("floatsize")
}
for i := 0; i < len(ftoatests); i++ {
test := &ftoatests[i]