(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func TestRealFuncFormat(t *testing.T) { |
| 50 | backend := InitForTesting(DEBUG) |
| 51 | SetFormatter(MustStringFormatter("%{shortfunc}")) |
| 52 | |
| 53 | line := realFunc(backend) |
| 54 | if "realFunc" != line { |
| 55 | t.Errorf("Unexpected format: %s", line) |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | func TestStructFuncFormat(t *testing.T) { |
| 60 | backend := InitForTesting(DEBUG) |
nothing calls this directly
no test coverage detected