()
| 844 | type printer state |
| 845 | |
| 846 | func (p *state) detail() bool { |
| 847 | if !p.wantDetail { |
| 848 | return false |
| 849 | } |
| 850 | if p.notEmpty { |
| 851 | p.needNewline = 1 |
| 852 | } |
| 853 | p.switchOver() |
| 854 | return true |
| 855 | } |
| 856 | |
| 857 | func (p *state) switchOver() { |
| 858 | if p.hasDetail { |
no test coverage detected