refactor(diary): share the console types through internal/consolekit so diary no longer links bonfire (IN-07, quick-261028-rqd)

This commit is contained in:
Jakub Zych
2026-10-28 20:46:32 +01:00
parent 3520d5d480
commit f3f87f3cc4
14 changed files with 364 additions and 169 deletions

View File

@@ -101,8 +101,8 @@ func TestGlobalsArgs(t *testing.T) {
if got := strings.Join(args, " "); got != tc.want {
t.Errorf("%+v.Args() = %q, want %q", tc.g, got, tc.want)
}
if back := PeekGlobals(args); back != tc.g.normalize() {
t.Errorf("PeekGlobals(%q) = %+v, want %+v", args, back, tc.g.normalize())
if back := PeekGlobals(args); back != normalize(tc.g) {
t.Errorf("PeekGlobals(%q) = %+v, want %+v", args, back, normalize(tc.g))
}
}
}