summaryrefslogtreecommitdiff
path: root/contrib/fs/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fs/file_test.go')
-rw-r--r--contrib/fs/file_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/fs/file_test.go b/contrib/fs/file_test.go
index 55e2a09..ce4d023 100644
--- a/contrib/fs/file_test.go
+++ b/contrib/fs/file_test.go
@@ -4,7 +4,6 @@ import (
"context"
"io"
"net/url"
- "os"
"testing"
"github.com/stretchr/testify/assert"
@@ -16,7 +15,7 @@ import (
)
func TestFileHandler(t *testing.T) {
- handler := fs.GeminiFileHandler(os.DirFS("testdata"))
+ handler := fs.GeminiFileHandler("testdata", "")
tests := []struct {
url string