Skip to content

Commit

Permalink
Merge pull request #8 from DragonFlyBSD/fix-tests
Browse files Browse the repository at this point in the history
fix: Fix ftpCheck() test by changing the FTP test site
  • Loading branch information
liweitianux authored Aug 3, 2024
2 parents a86e741 + bd26abb commit 73736d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitor/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func TestHttpCheck(t *testing.T) {

func TestFtpCheck(t *testing.T) {
var ok_urls = []string{
"ftp://ftp.sjtu.edu.cn/",
"ftp://ftp.sjtu.edu.cn/pub/software/",
"ftp://ftp.freebsd.org/",
"ftp://ftp.freebsd.org/pub/FreeBSD/",
}
for _, utext := range ok_urls {
u, _ := url.Parse(utext)
Expand Down

0 comments on commit 73736d7

Please sign in to comment.