detached eb5ee21

test(cef): satisfy lint for resize pulse callbacks

commit
eb5ee218d3a8c271f8e82eb5914e6fc7e6d04490
author
brice · · 2026-06-20 22:15 UTC
parent
b594e4f
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +2 -2
M internal/infrastructure/cef/webview_viewport_test.go +2 -2
@@ -471,7 +471,7 @@ func TestScheduleResizeRepaintPulse_SkipsStaleHost(t *testing.T) {
471471 cefNewTask = func(task purecef.Task) purecef.Task { return task }
472472
473473 var scheduled []purecef.Task
474- cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, delayMs int64) int32 {
474+ cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, _ int64) int32 {
475475 require.Equal(t, purecef.ThreadIDTidUi, threadID)
476476 require.NotNil(t, task)
477477 scheduled = append(scheduled, task)
@@ -527,7 +527,7 @@ func TestScheduleResizeRepaintPulse_SkipsWhenHostClearedBeforeExecution(t *testi
527527 cefNewTask = func(task purecef.Task) purecef.Task { return task }
528528
529529 var scheduled []purecef.Task
530- cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, delayMs int64) int32 {
530+ cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, _ int64) int32 {
531531 require.Equal(t, purecef.ThreadIDTidUi, threadID)
532532 require.NotNil(t, task)
533533 scheduled = append(scheduled, task)
@@ -471,7 +471,7 @@ func TestScheduleResizeRepaintPulse_SkipsStaleHost(t *testing.T) {
471 cefNewTask = func(task purecef.Task) purecef.Task { return task }471 cefNewTask = func(task purecef.Task) purecef.Task { return task }
472 472
473 var scheduled []purecef.Task473 var scheduled []purecef.Task
474- cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, delayMs int64) int32 {474+ cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, _ int64) int32 {
475 require.Equal(t, purecef.ThreadIDTidUi, threadID)475 require.Equal(t, purecef.ThreadIDTidUi, threadID)
476 require.NotNil(t, task)476 require.NotNil(t, task)
477 scheduled = append(scheduled, task)477 scheduled = append(scheduled, task)
@@ -527,7 +527,7 @@ func TestScheduleResizeRepaintPulse_SkipsWhenHostClearedBeforeExecution(t *testi
527 cefNewTask = func(task purecef.Task) purecef.Task { return task }527 cefNewTask = func(task purecef.Task) purecef.Task { return task }
528 528
529 var scheduled []purecef.Task529 var scheduled []purecef.Task
530- cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, delayMs int64) int32 {530+ cefPostDelayedTask = func(threadID purecef.ThreadID, task purecef.Task, _ int64) int32 {
531 require.Equal(t, purecef.ThreadIDTidUi, threadID)531 require.Equal(t, purecef.ThreadIDTidUi, threadID)
532 require.NotNil(t, task)532 require.NotNil(t, task)
533 scheduled = append(scheduled, task)533 scheduled = append(scheduled, task)

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close