structs_test.go
changeset 74 e619e18dcec3
parent 72 53f15893a1a7
child 75 03a923eb5c01
equal deleted inserted replaced
73:acca351fb8f0 74:e619e18dcec3
     4 
     4 
     5 package xmpp
     5 package xmpp
     6 
     6 
     7 import (
     7 import (
     8 	"bytes"
     8 	"bytes"
       
     9 	"encoding/xml"
     9 	"testing"
    10 	"testing"
    10 	"xml"
       
    11 )
    11 )
    12 
    12 
    13 func assertEquals(t *testing.T, expected, observed string) {
    13 func assertEquals(t *testing.T, expected, observed string) {
    14 	if expected != observed {
    14 	if expected != observed {
    15 		t.Errorf("Expected:\n%s\nObserved:\n%s\n", expected,
    15 		t.Errorf("Expected:\n%s\nObserved:\n%s\n", expected,