mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-17 03:42:26 +08:00
add ping.go
This commit is contained in:
14
ping_test.go
Normal file
14
ping_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Package main provides ...
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/eiblog/eiblog/setting"
|
||||
)
|
||||
|
||||
func TestPing(t *testing.T) {
|
||||
sf := Superfeedr{URL: fmt.Sprintf("https://%s.superfeedr.com", setting.Conf.Superfeedr)}
|
||||
sf.PingFunc("https://deepzz.com/rss.html")
|
||||
}
|
||||
Reference in New Issue
Block a user