progrium / qmux

wire protocol for multiplexing connections or streams into a single connection, based on a subset of the SSH Connection Protocol
MIT License
230 stars 48 forks source link

golang/session: additional tests #4

Closed mgood closed 3 years ago

mgood commented 3 years ago

Start adding a couple additional tests for session package:

Also marks fatal as a test helper so that errors show the caller's line number instead of the line inside fatal.

mgood commented 3 years ago
?       github.com/progrium/qmux/golang [no test files]
ok      github.com/progrium/qmux/golang/codec   (cached)    coverage: 92.7% of statements
ok      github.com/progrium/qmux/golang/session (cached)    coverage: 82.6% of statements