(t *testing.T)
| 511 | } |
| 512 | |
| 513 | func TestCompactText(t *testing.T) { |
| 514 | got := proto.CompactTextString(newTestMessage()) |
| 515 | if got != compact(text) { |
| 516 | t.Errorf("got:\n%v\n\nwant:\n%v", got, compact(text)) |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | func TestStringEscaping(t *testing.T) { |
| 521 | testCases := []struct { |
nothing calls this directly
no test coverage detected