Skip to content

Commit

Permalink
test: fix initConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
metafates committed Jun 27, 2022
1 parent 8763de8 commit ad0e4b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestRemoveIfExists(t *testing.T) {
}

func TestDownloadChapter(t *testing.T) {
initConfig("")
initConfig("", false)
if testing.Short() {
t.Skip("skipping this DownloadChapter is too expensive")
}
Expand Down
4 changes: 0 additions & 4 deletions tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ import (
"sync"
)

/*
Styles
*/

var (
commonStyle = lipgloss.NewStyle().Margin(2, 2)
accentStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("205"))
Expand Down
2 changes: 1 addition & 1 deletion tui_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import "testing"

func TestNewBubble(t *testing.T) {
initConfig("")
initConfig("", false)

bubble := NewBubble(searchState)

Expand Down

0 comments on commit ad0e4b6

Please sign in to comment.