equal
deleted
inserted
replaced
27 err := parseExtended(&iq.Header, m) |
27 err := parseExtended(&iq.Header, m) |
28 if err != nil { |
28 if err != nil { |
29 t.Fatalf("parseExtended: %v", err) |
29 t.Fatalf("parseExtended: %v", err) |
30 } |
30 } |
31 assertEquals(t, "iq", iq.XMLName.Local) |
31 assertEquals(t, "iq", iq.XMLName.Local) |
32 assertEquals(t, "from", iq.From) |
32 assertEquals(t, "from", string(iq.From)) |
33 assertEquals(t, "en", iq.Lang) |
33 assertEquals(t, "en", iq.Lang) |
34 nested := iq.Nested |
34 nested := iq.Nested |
35 if nested == nil { |
35 if nested == nil { |
36 t.Fatalf("nested nil") |
36 t.Fatalf("nested nil") |
37 } |
37 } |