Skip to content

Commit

Permalink
fix: unit test separator
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmedeski committed Mar 1, 2024
1 parent be76e2a commit 9a00523
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tmux/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
)

func TestFormat(t *testing.T) {
want := "#{session_activity} #{session_alerts} #{session_attached}" +
" #{session_attached_list} #{session_created} #{session_format} " +
"#{session_group} #{session_group_attached} " +
"#{session_group_attached_list} #{session_group_list} " +
"#{session_group_many_attached} #{session_group_size} " +
"#{session_grouped} #{session_id} #{session_last_attached} " +
"#{session_many_attached} #{session_marked} #{session_name} " +
"#{session_path} #{session_stack} #{session_windows}"
want := "#{session_activity}::#{session_alerts}::#{session_attached}::" +
"#{session_attached_list}::#{session_created}::#{session_format}::" +
"#{session_group}::#{session_group_attached}::" +
"#{session_group_attached_list}::#{session_group_list}::" +
"#{session_group_many_attached}::#{session_group_size}::" +
"#{session_grouped}::#{session_id}::#{session_last_attached}::" +
"#{session_many_attached}::#{session_marked}::#{session_name}::" +
"#{session_path}::#{session_stack}::#{session_windows}"
got := format()
require.Equal(t, want, got)
}
Expand Down

0 comments on commit 9a00523

Please sign in to comment.