(t *testing.T)
| 66 | } |
| 67 | |
| 68 | func TestWrappedRecordMeta(t *testing.T) { |
| 69 | r := WrapRecord(&testRecord) |
| 70 | for k, v := range testRecord.Meta { |
| 71 | if got := r.Meta(k); got != v { |
| 72 | t.Fatalf("expecting '%s' for meta '%s', got '%s'", v, k, got) |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | func TestWrappedRecordMetaWithInvalidKey(t *testing.T) { |
| 78 | r := WrapRecord(&testRecord) |
nothing calls this directly
no test coverage detected