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

log.Fatal does not exist. Use log.Crash.

R=rsc
CC=golang-dev
https://golang.org/cl/193075
This commit is contained in:
Rob Pike 2010-01-25 07:48:31 +11:00
parent 758f2bc556
commit 3909b6b479

View File

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