From bb71ce50d59a4500cb2046c1bf37c4b89c47569b Mon Sep 17 00:00:00 2001 From: "Y.Matsuda" Date: Mon, 9 Sep 2024 22:48:25 +0900 Subject: [PATCH] fix failing tests --- tuiexporter/internal/tui/component/trace_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tuiexporter/internal/tui/component/trace_test.go b/tuiexporter/internal/tui/component/trace_test.go index 769abd9..f6186d9 100644 --- a/tuiexporter/internal/tui/component/trace_test.go +++ b/tuiexporter/internal/tui/component/trace_test.go @@ -113,16 +113,16 @@ func TestSpanDataForTable(t *testing.T) { want: "", }, { - name: "trace ID trace 1 span-1-1-1", - row: 0, + name: "service name trace 1 span-2-1-1", + row: 1, column: 1, - want: "01000000000000000000000000000000", + want: "test-service-2", }, { - name: "service name trace 1 span-2-1-1", - row: 1, + name: "latency span-1-1-1", + row: 0, column: 2, - want: "test-service-2", + want: "200ms", }, { name: "received at trace 2 span-1-1-1",