(t *testing.T)
| 288 | } |
| 289 | |
| 290 | func TestMultilinePrintableName(t *testing.T) { |
| 291 | ni := &NodeInfo{ |
| 292 | Name: "test1.test2::test3", |
| 293 | File: "src/file.cc", |
| 294 | Address: 123, |
| 295 | Lineno: 999, |
| 296 | } |
| 297 | |
| 298 | want := fmt.Sprintf(`%016x\ntest1\ntest2\ntest3\nfile.cc:999\n`, 123) |
| 299 | if got := multilinePrintableName(ni); got != want { |
| 300 | t.Errorf("multilinePrintableName(%#v) == %q, want %q", ni, got, want) |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | func TestTagCollapse(t *testing.T) { |
| 305 |
nothing calls this directly
no test coverage detected
searching dependent graphs…