1
0
mirror of https://github.com/golang/go synced 2024-11-25 03:57:56 -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 {
log.Crash("test fails")
log.Panic("test fails")
}
</pre>
@ -3503,7 +3503,7 @@ Label = identifier .
</pre>
<pre>
Error: log.Crash("error encountered")
Error: log.Panic("error encountered")
</pre>