1234567891011121314151617 |
- package sarama
- import "testing"
- var (
- baseSaslRequest = []byte{
- 0, 3, 'f', 'o', 'o', // Mechanism
- }
- )
- func TestSaslHandshakeRequest(t *testing.T) {
- var request *SaslHandshakeRequest
- request = new(SaslHandshakeRequest)
- request.Mechanism = "foo"
- testRequest(t, "basic", request, baseSaslRequest)
- }
|