mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
delete all uses of panicln by rewriting them using panic or,
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev https://golang.org/cl/741041
This commit is contained in:
parent
acfd6d5f05
commit
325cf8ef21
79 changed files with 3007 additions and 2019 deletions
|
|
@ -49,7 +49,7 @@ func (t *Arith) Div(args *Args, reply *Reply) os.Error {
|
|||
}
|
||||
|
||||
func (t *Arith) Error(args *Args, reply *Reply) os.Error {
|
||||
panicln("ERROR")
|
||||
panic("ERROR")
|
||||
}
|
||||
|
||||
func startServer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue