summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-09-17 23:08:46 -0400
committerBen Burwell <ben@benburwell.com>2019-09-17 23:08:46 -0400
commita3a1e9decb6a5e36b76c9c7e1a149db81c60bd6e (patch)
treeca2236e5e66183e415d93b41ee9c9b019c6a362f /client
parent679a62a9407c09be0cfb4e22455dca5ae694ce01 (diff)
add examples, fix bug
Diffstat (limited to 'client')
-rw-r--r--client/client_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client_test.go b/client/client_test.go
index fb1701c..b4a1b2a 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -48,7 +48,7 @@ func TestEncode(t *testing.T) {
}
server := httptest.NewServer(hf)
defer server.Close()
- c := CaesarClient{Endpoint: server.URL}
+ c := CaesarClient{Endpoint: server.URL} // HL
r, err := c.EncodeMessage(strings.NewReader("secret message"))
if err != nil {
t.Errorf("should not have gotten error: %v", err)