Skip to content

Commit dcdeb50

Browse files
committed
fix template tests
1 parent f1062d1 commit dcdeb50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/exporters/template_exporter_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func TestExportTemplateFull(t *testing.T) {
7979
Format: FormatTemplate,
8080
TemplateFile: tplPath,
8181
TemplateStreaming: false,
82+
Compression: "none",
8283
}
8384

8485
_, err = exporter.Export(rows, outPath, opts)
@@ -125,6 +126,7 @@ func TestExportTemplateStreaming(t *testing.T) {
125126
TemplateHeader: header,
126127
TemplateFooter: footer,
127128
TemplateStreaming: true,
129+
Compression: "none",
128130
}
129131

130132
_, err = exporter.Export(rows, outPath, opts)
@@ -195,6 +197,7 @@ func TestExportTemplateTimeFormatting(t *testing.T) {
195197
Format: FormatTemplate,
196198
TemplateFile: tpl,
197199
TimeFormat: "yyyy-MM-dd HH:mm",
200+
Compression: "none",
198201
}
199202

200203
_, err := exporter.Export(rows, outPath, opts)
@@ -232,6 +235,7 @@ func TestExportTemplateDataTypes(t *testing.T) {
232235
opts := ExportOptions{
233236
Format: FormatTemplate,
234237
TemplateFile: tpl,
238+
Compression: "none",
235239
}
236240

237241
_, err := exporter.Export(rows, outPath, opts)
@@ -274,6 +278,7 @@ func TestExportTemplateLargeDataset(t *testing.T) {
274278
opts := ExportOptions{
275279
Format: FormatTemplate,
276280
TemplateFile: tpl,
281+
Compression: "none",
277282
}
278283

279284
count, err := exporter.Export(rows, outPath, opts)

0 commit comments

Comments
 (0)