Skip to content

Commit c3b5dcf

Browse files
committed
fixed test
1 parent d5e6986 commit c3b5dcf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/pg/triage_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func TestDeadlockSeverity(t *testing.T) {
117117
if got := deadlockSeverity(0); got != SevOK {
118118
t.Errorf("none = %v, want SevOK", got)
119119
}
120-
if got := deadlockSeverity(3); got != SevWarn {
120+
if got := deadlockSeverity(20); got != SevWarn {
121121
t.Errorf("a few = %v, want SevWarn", got)
122122
}
123123
if got := deadlockSeverity(200); got != SevCrit {

internal/tui/view_parts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (m *Model) renderPartsLevel(s *screen, height int) string {
2929
if paneH < vacuumPaneMin {
3030
// Too short for list + footer + a usable pane: drop the footer, then
3131
// shrink the list, keeping the pane at its minimum.
32-
footer, footerH = "", 0
32+
footer = ""
3333
paneH = height - listH
3434
if paneH < vacuumPaneMin {
3535
listH = max(height-vacuumPaneMin, 1)

0 commit comments

Comments
 (0)