From 672e223bb9a144f29560edea205808dcd8199cca Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 3 May 2026 09:15:42 -0700 Subject: [PATCH] test(tui): assert colon metadata ordering --- tui/tui_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui/tui_test.go b/tui/tui_test.go index 9367e9a..7b59867 100644 --- a/tui/tui_test.go +++ b/tui/tui_test.go @@ -1816,7 +1816,7 @@ func TestDocumentDetailSeparatesProviderAndSource(t *testing.T) { if strings.Contains(joined, "source: notion") { t.Fatalf("document detail should not duplicate provider as source:\n%s", joined) } - if strings.Index(joined, "alpha=first") > strings.Index(joined, "zeta=last") { + if strings.Index(joined, "alpha: first") > strings.Index(joined, "zeta: last") { t.Fatalf("field tail should be stable and sorted:\n%s", joined) } }