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:
parent
9040da9e40
commit
7fc4e37853
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user