(format string, values ...any)
| 48 | } |
| 49 | |
| 50 | func (fc *funcContext) Printf(format string, values ...any) { |
| 51 | fc.Write([]byte(fc.Indentation(0))) |
| 52 | fmt.Fprintf(fc, format, values...) |
| 53 | fc.Write([]byte{'\n'}) |
| 54 | fc.Write(fc.delayedOutput) |
| 55 | fc.delayedOutput = nil |
| 56 | } |
| 57 | |
| 58 | func (fc *funcContext) PrintCond(cond bool, onTrue, onFalse string) { |
| 59 | if !cond { |
no test coverage detected