aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup/csv/csv_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup/csv/csv_test.go')
-rw-r--r--modules/markup/csv/csv_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/markup/csv/csv_test.go b/modules/markup/csv/csv_test.go
index 4c47170c30..b0b18ab467 100644
--- a/modules/markup/csv/csv_test.go
+++ b/modules/markup/csv/csv_test.go
@@ -4,7 +4,6 @@
package markup
import (
- "context"
"strings"
"testing"
@@ -24,7 +23,7 @@ func TestRenderCSV(t *testing.T) {
for k, v := range kases {
var buf strings.Builder
- err := render.Render(markup.NewRenderContext(context.Background()), strings.NewReader(k), &buf)
+ err := render.Render(markup.NewRenderContext(t.Context()), strings.NewReader(k), &buf)
assert.NoError(t, err)
assert.EqualValues(t, v, buf.String())
}