workon/tmux/tmux_test.go

13 lines
184 B
Go
Raw Normal View History

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