15 lines
185 B
Go
Executable File
15 lines
185 B
Go
Executable File
package server
|
|
|
|
import (
|
|
"local/rssmon3/config"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestServerRun(t *testing.T) {
|
|
config.New()
|
|
s := New(nil)
|
|
go s.Run()
|
|
time.Sleep(time.Millisecond * 100)
|
|
}
|