mirror of
https://github.com/golang/go
synced 2024-11-21 18:14:42 -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:
parent
9040da9e40
commit
7fc4e37853
@ -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>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user