Skip to content

Commit

Permalink
Remove the (currently unused) parameter t
Browse files Browse the repository at this point in the history
Signed-off-by: Jo Vandeginste <[email protected]>
  • Loading branch information
jovandeginste committed Feb 27, 2024
1 parent 1fc205f commit 8106c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pkg/database/gpx_samples_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package database

import (
"testing"
"testing/fstest"
)

var gpxFS fstest.MapFS

func populateGPXFS(t *testing.T) {
func populateGPXFS() {
gpxFS = fstest.MapFS{}

gpxFS["sample1.gpx"] = &fstest.MapFile{Data: []byte(GpxSample1)}
Expand Down
2 changes: 1 addition & 1 deletion pkg/database/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func TestDatabaseProfileSave(t *testing.T) {

func TestDatabaseUserWorkouts(t *testing.T) {
db := createMemoryDB(t)
populateGPXFS(t)
populateGPXFS()

u := defaultUser()
require.NoError(t, u.Create(db))
Expand Down

0 comments on commit 8106c52

Please sign in to comment.