mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Update Snowflake client library documentation
Follow best practices for documenting the exported pieces of the Snowflake client library.
This commit is contained in:
parent
99887cd05d
commit
638ec6c222
8 changed files with 83 additions and 50 deletions
|
@ -122,7 +122,7 @@ func TestHTTPRendezvous(t *testing.T) {
|
|||
answer, err := rend.Exchange(fakeEncPollReq)
|
||||
So(err, ShouldNotBeNil)
|
||||
So(answer, ShouldBeNil)
|
||||
So(err.Error(), ShouldResemble, BrokerErrorUnexpected)
|
||||
So(err.Error(), ShouldResemble, brokerErrorUnexpected)
|
||||
})
|
||||
|
||||
Convey("httpRendezvous.Exchange fails with error", func() {
|
||||
|
@ -243,7 +243,7 @@ func TestAMPCacheRendezvous(t *testing.T) {
|
|||
answer, err := rend.Exchange(fakeEncPollReq)
|
||||
So(err, ShouldNotBeNil)
|
||||
So(answer, ShouldBeNil)
|
||||
So(err.Error(), ShouldResemble, BrokerErrorUnexpected)
|
||||
So(err.Error(), ShouldResemble, brokerErrorUnexpected)
|
||||
})
|
||||
|
||||
Convey("ampCacheRendezvous.Exchange fails with error", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue