Skip to content

Commit 9d9813f

Browse files
author
Alex Schrimpf
committed
Moved testdata folder
1 parent a49e1bd commit 9d9813f

9 files changed

+7
-61
lines changed

examples/basic/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/TheAschr/pgseeder/examples/basic
33
go 1.20
44

55
require (
6-
github.com/TheAschr/pgseeder v1.0.0
6+
github.com/TheAschr/pgseeder v1.0.2
77
github.com/google/uuid v1.5.0
88
github.com/jackc/pgx/v5 v5.5.1
99
github.com/vbauerster/mpb/v8 v8.7.1

examples/basic/go.sum

-54
This file was deleted.

internal/filereader/filereader_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ func TestTotalLines(t *testing.T) {
1010

1111
tests := []Test{
1212
{
13-
"testdata/20-lines.txt.gz",
13+
"../../testdata/20-lines.txt.gz",
1414
20,
1515
},
1616
{
17-
"testdata/0-lines.txt.gz",
17+
"../../testdata/0-lines.txt.gz",
1818
0,
1919
},
2020
{
21-
"testdata/5-lines-with-missing-line.txt.gz",
21+
"../../testdata/5-lines-with-missing-line.txt.gz",
2222
5,
2323
},
2424
{
25-
"testdata/5-lines-with-empty-line.txt.gz",
25+
"../../testdata/5-lines-with-empty-line.txt.gz",
2626
5,
2727
},
2828
{
29-
"testdata/10-lines-with-long-line.txt.gz",
29+
"../../testdata/10-lines-with-long-line.txt.gz",
3030
10,
3131
},
3232
{
33-
"testdata/10m-lines.txt.gz",
33+
"../../testdata/10m-lines.txt.gz",
3434
10000000,
3535
},
3636
}
File renamed without changes.

0 commit comments

Comments
 (0)