Skip to content

Commit 67ab53e

Browse files
committed
fix failing env test
1 parent 6a97e06 commit 67ab53e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

internal/cli/cli_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ func TestRun_ImportErrors(t *testing.T) {
157157
{
158158
"missing file",
159159
"missing.xlsx",
160-
"",
161-
nil,
160+
"test.env",
161+
map[string]string{},
162162
fmt.Errorf("failed to open excel extended file: open %s: no such file or directory", testDataFile("missing.xlsx")),
163163
[]string{
164164
"failed to open excel extended file",
@@ -167,8 +167,8 @@ func TestRun_ImportErrors(t *testing.T) {
167167
{
168168
"non excel file",
169169
"invalid.txt",
170-
"",
171-
nil,
170+
"test.env",
171+
map[string]string{},
172172
cli.ErrUnknownFileExtension,
173173
[]string{
174174
"unknown file extension .txt",

0 commit comments

Comments
 (0)