(t *testing.T)
| 55 | } |
| 56 | |
| 57 | func TestWriteStringFmt(t *testing.T) { |
| 58 | t.Parallel() |
| 59 | |
| 60 | buf := bytes.NewBuffer(nil) |
| 61 | |
| 62 | err := writeStringFmt(buf, "hello %s", "world") |
| 63 | assert.Nil(t, err) |
| 64 | assert.Equal(t, "hello world", buf.String()) |
| 65 | } |
| 66 | |
| 67 | func TestGetExitStatusFromError(t *testing.T) { |
| 68 | t.Parallel() |
nothing calls this directly
no test coverage detected