(t *testing.T)
| 329 | } |
| 330 | |
| 331 | func TestPrintScalarEncapsedStringPart(t *testing.T) { |
| 332 | o := bytes.NewBufferString("") |
| 333 | |
| 334 | p := printer.NewPrettyPrinter(o, " ") |
| 335 | p.Print(&scalar.EncapsedStringPart{Value: "hello world"}) |
| 336 | |
| 337 | if o.String() != `hello world` { |
| 338 | t.Errorf("TestPrintScalarEncapsedStringPart is failed\n") |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | func TestPrintScalarEncapsed(t *testing.T) { |
| 343 | o := bytes.NewBufferString("") |
nothing calls this directly
no test coverage detected
searching dependent graphs…