We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4e228 commit e6e2879Copy full SHA for e6e2879
tmux/list_test.go
@@ -34,7 +34,7 @@ func TestProcessSessions(t *testing.T) {
34
Input: []string{
35
"1705879337 1 /dev/ttys000 1705878987 1 0 $2 1705879328 0 0 session-1 /some/test/path 1 1",
36
},
37
- Expected: []*TmuxSession{},
+ Expected: make([]*TmuxSession, 1),
38
39
"Single inactive session": {
40
@@ -54,7 +54,7 @@ func TestProcessSessions(t *testing.T) {
54
55
56
57
+ Expected: make([]*TmuxSession, 2),
58
59
"No sessions": {
60
Expected: []*TmuxSession{},
0 commit comments