Files
i2p.plugins.tor-updater/serve/serve_test.go
2022-01-16 17:06:29 -05:00

16 lines
290 B
Go

package tbserve
import (
tbget "i2pgit.org/idk/i2p.plugins.tor-manager/get"
"testing"
)
func TestServe(t *testing.T) {
tbget.DOWNLOAD_PATH = "../tor-browser"
bytes, err := GenerateMirrorJSON("http://localhost:8080", "en-US")
if err != nil {
t.Error(err)
}
t.Log(string(bytes))
}