forked from jshiffer/go-xmpp
Fix import and test
This commit is contained in:
committed by
Mickaël Rémond
parent
2d95ca9384
commit
6fc12e9779
@@ -3,10 +3,11 @@ package xmpp // import "gosrc.io/xmpp"
|
||||
import "testing"
|
||||
|
||||
func TestHandshake(t *testing.T) {
|
||||
c := Component{
|
||||
Host: "test.localhost",
|
||||
opts := ComponentOptions{
|
||||
Domain: "test.localhost",
|
||||
Secret: "mypass",
|
||||
}
|
||||
c := Component{ComponentOptions: opts}
|
||||
|
||||
streamID := "1263952298440005243"
|
||||
expected := "c77e2ef0109fbbc5161e83b51629cd1353495332"
|
||||
|
||||
Reference in New Issue
Block a user