(t *testing.T)
| 64 | } |
| 65 | |
| 66 | func TestAddPrefixkv1(t *testing.T) { |
| 67 | ctx := context.Background() |
| 68 | ctx1 := AddPrefixkv(ctx, "a", "b") |
| 69 | got := prefix(ctx1) |
| 70 | want := []byte("a=b ") |
| 71 | if !bytes.Equal(got, want) { |
| 72 | t.Errorf(`prefix(AddPrefixkv(bg, "a", "b")) = %q want %q`, got, want) |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | func TestAddPrefixkv2(t *testing.T) { |
| 77 | ctx := context.Background() |
nothing calls this directly
no test coverage detected