Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Oct 23, 2024
1 parent a70c9ca commit 2edeef6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/slackdump/internal/ui/bubbles/filemgr/filemgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func TestModel_View(t *testing.T) {
files: []fs.FileInfo{},
ShowHelp: true,
},
want: "No files found, press [Backspace]\n\n ↑↓ move•[⏎] select•[⇤] back•[q] quit\n",
want: "No files found, press [Backspace]\n\n ↑↓ move•[⏎] select•[⇤] back•[q] quit",
},
{
name: "window height less than number of files",
Expand Down
12 changes: 5 additions & 7 deletions cmd/slackdump/internal/ui/cfgui/model_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package cfgui

import "fmt"

func Example_model_View() {
m := New()
fmt.Println(m.View())
// Output:
}
// func Example_model_View() {
// m := New()
// fmt.Println(m.View())
// // Output:
// }

0 comments on commit 2edeef6

Please sign in to comment.