summaryrefslogtreecommitdiff
path: root/internal/tui/dashboard/tabs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tui/dashboard/tabs_test.go')
-rw-r--r--internal/tui/dashboard/tabs_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/tui/dashboard/tabs_test.go b/internal/tui/dashboard/tabs_test.go
index d40cc68..0fc36f2 100644
--- a/internal/tui/dashboard/tabs_test.go
+++ b/internal/tui/dashboard/tabs_test.go
@@ -6,8 +6,8 @@ import (
)
func TestTabNavigationWraps(t *testing.T) {
- if got := nextTab(TabGaps); got != TabStream {
- t.Fatalf("expected next after gaps to be stream, got %v", got)
+ if got := nextTab(TabLatency); got != TabStream {
+ t.Fatalf("expected next after latency+gaps to be stream, got %v", got)
}
if got := nextTab(TabStream); got != TabOverview {
t.Fatalf("expected wrap to overview from stream, got %v", got)
@@ -19,7 +19,7 @@ func TestTabNavigationWraps(t *testing.T) {
func TestRenderTabBarContainsLabels(t *testing.T) {
out := renderTabBar(TabOverview, 80)
- for _, label := range []string{"Overview", "Syscalls", "Files", "Processes", "Latency", "Gaps", "Stream"} {
+ for _, label := range []string{"Overview", "Syscalls", "Files", "Processes", "Latency+Gaps", "Stream"} {
if !strings.Contains(out, label) {
t.Fatalf("expected tab label %q in tab bar", label)
}