charm
charm copied to clipboard
test: add linking tests
Changes
- [x] add tests for linking two clients on a charm server
Related Issues
https://github.com/charmbracelet/charm/issues/132
Changes:
-
[x] use the client returned from
testserver.SetupTestServer(t)
instead of throwing it out and creating a new one -
[x] try to test rejecting a link attempt to make sure that works too