1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:44:39 -07:00

go spec: s/log.Crash/log.Panic/

There is no log.Crash.

R=r, rsc
CC=golang-dev
https://golang.org/cl/4058048
This commit is contained in:
Robert Griesemer 2011-02-01 12:51:10 -08:00
parent 9040da9e40
commit 7fc4e37853

View File

@ -2588,7 +2588,7 @@ func Join(s, t string) string {
} }
if Join(Split(value, len(value)/2)) != value { if Join(Split(value, len(value)/2)) != value {
log.Crash("test fails") log.Panic("test fails")
} }
</pre> </pre>
@ -3503,7 +3503,7 @@ Label = identifier .
</pre> </pre>
<pre> <pre>
Error: log.Crash("error encountered") Error: log.Panic("error encountered")
</pre> </pre>