(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestAppend(t *testing.T) { |
| 12 | var linePool = buffer.NewPool() |
| 13 | buf := linePool.Get() |
| 14 | appendPaddedString("a\nb", buf) |
| 15 | |
| 16 | g := NewGomegaWithT(t) |
| 17 | g.Expect(buf.String()).To(Equal("a\n" + strings.Repeat(" ", levelIndicatorRuneCount) + "b")) |
| 18 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…