workon/tmux/tmux_test.go
James Walker 34e25bfd28
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
add an actual test
2022-08-04 17:38:28 -04:00

13 lines
184 B
Go

package tmux
import (
"testing"
)
func TestListSessions(t *testing.T) {
m := CreateTmux(true)
if _, err := m.ListSessions(); err != nil {
t.Fatalf("ListSessions: %s", err)
}
}