Fix broken tests

This commit is contained in:
Mickael Remond
2018-01-15 12:52:28 +01:00
parent b3c11fb151
commit 20c2c44941
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ func main() {
switch p := packet.(type) {
case xmpp.IQ:
switch inner := p.Payload.(type) {
switch inner := p.Payload[0].(type) {
case *xmpp.Node:
fmt.Printf("%q\n", inner)