(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestWithInstructions_replace(t *testing.T) { |
| 31 | t.Parallel() |
| 32 | inner := &toolSet{ |
| 33 | instruction: "Existing instructions", |
| 34 | } |
| 35 | |
| 36 | wrapped := WithInstructions(inner, "New instructions") |
| 37 | |
| 38 | assert.Equal(t, "New instructions", tools.GetInstructions(wrapped)) |
| 39 | } |
| 40 | |
| 41 | func TestWithInstructions_add(t *testing.T) { |
| 42 | t.Parallel() |
nothing calls this directly
no test coverage detected