mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
19 lines
266 B
Go
19 lines
266 B
Go
package iplibrary
|
|
|
|
import (
|
|
_ "github.com/iwind/TeaGo/bootstrap"
|
|
"github.com/iwind/TeaGo/dbs"
|
|
"testing"
|
|
)
|
|
|
|
func TestUpdater_loop(t *testing.T) {
|
|
dbs.NotifyReady()
|
|
|
|
updater := NewUpdater()
|
|
err := updater.loop()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log("ok")
|
|
}
|