aboutsummaryrefslogtreecommitdiff
path: root/gemini_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'gemini_test.go')
-rw-r--r--gemini_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemini_test.go b/gemini_test.go
index e029c04..efa34b9 100644
--- a/gemini_test.go
+++ b/gemini_test.go
@@ -17,7 +17,7 @@ func TestNewGeminiConn(t *testing.T) {
}
for _, table := range tables {
- conn, err := NewGeminiConn(table.url, table.port)
+ conn, err := NewGeminiConnFromRequest(table.url, table.port)
if err != nil {
t.Fatalf("NewGeminiConn error: %s", err.Error())
}