changeset 143 | 62166e57800e |
parent 142 | 0ff033eed887 |
child 144 | 9d7fdb1d2fc1 |
--- a/xmpp/stream_test.go Sun Sep 15 11:34:35 2013 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -package xmpp - -import ( - "testing" -) - -func TestSaslDigest(t *testing.T) { - // These values are from RFC2831, section 4. - obs := saslDigestResponse("chris", "elwood.innosoft.com", - "secret", "OA6MG9tEQGm2hh", "OA6MHXh6VqTrRk", - "AUTHENTICATE", "imap/elwood.innosoft.com", - "00000001") - exp := "d388dad90d4bbd760a152321f2143af7" - assertEquals(t, exp, obs) -}