Commit Graph

6 Commits

Author SHA1 Message Date
Guillaume J. Charmes
4f76b68d8a Add tests to make sure ptys are individually addressalbe. Enable windows in GHA tests. 2023-10-31 18:45:05 -04:00
Guillaume J. Charmes
219f7e0db9 Add more test helpers, cleanup existing tests. Add editorconfig and golangci config, comply with golangci rules. 2023-10-31 10:52:38 -04:00
Guillaume J. Charmes
ccf8e7e6b6 Add openClose helper in tests to remove duplication. 2023-10-31 09:20:53 -04:00
Guillaume J. Charmes
bc68e99fbc Minor cosmetic cleanups in the tests. Add missing error checks. Use Fatal instead of Error to avoid panics upon failure. 2023-10-31 09:11:12 -04:00
Joel Sing
0d412c9fbe Provide correct pty/tty file paths on OpenBSD (#148)
While here, add test coverage for opening the TTY from the given filename.
2022-04-21 17:18:55 -04:00
Fraser Waters
2e47437b1f Add some basic tests (#145) 2022-03-29 04:18:40 -07:00