File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -521,8 +521,10 @@ func Test_model_View(t *testing.T) {
521521 for range 19 {
522522 lines = append (lines , leftPaddingStr + pad ("" , effectiveWidth ))
523523 }
524+
524525 footerPart1 := "↑/k: up ↓/j: down ←/h: left →/l: right Enter: remove s: toggle sort q:"
525526 footerPart2 := "quit"
527+
526528 lines = append (lines , leftPaddingStr + pad (footerPart1 , effectiveWidth ))
527529 lines = append (lines , leftPaddingStr + pad (footerPart2 , effectiveWidth ))
528530
@@ -558,8 +560,10 @@ func Test_model_View(t *testing.T) {
558560 for range 17 { // Adjusted for rows=2
559561 lines = append (lines , leftPaddingStr + pad ("" , effectiveWidth ))
560562 }
563+
561564 footerPart1 := "↑/k: up ↓/j: down ←/h: left →/l: right Enter: remove s: toggle sort q:"
562565 footerPart2 := "quit"
566+
563567 lines = append (lines , leftPaddingStr + pad (footerPart1 , effectiveWidth ))
564568 lines = append (lines , leftPaddingStr + pad (footerPart2 , effectiveWidth ))
565569
Original file line number Diff line number Diff line change @@ -325,15 +325,19 @@ func TestRealFS_ListBinaries(t *testing.T) {
325325 args : args {},
326326 setup : func () string {
327327 tmpDir := t .TempDir ()
328+
328329 ext := ""
329330 if runtime .GOOS == windowsOS {
330331 ext = windowsExt
331332 }
333+
332334 os .WriteFile (filepath .Join (tmpDir , "tool2" + ext ), []byte ("test" ), 0o755 )
333335 os .WriteFile (filepath .Join (tmpDir , "tool1" + ext ), []byte ("test" ), 0o755 )
336+
334337 if runtime .GOOS == windowsOS {
335338 os .WriteFile (filepath .Join (tmpDir , "tool3.exe" ), []byte ("test" ), 0o755 )
336339 }
340+
337341 os .Mkdir (filepath .Join (tmpDir , "dir" ), 0o755 )
338342
339343 return tmpDir
You can’t perform that action at this time.
0 commit comments