run make format

This commit is contained in:
raziman 2021-03-04 12:33:09 +08:00
parent 7a65a0a08e
commit a267f0f3e0
8 changed files with 6 additions and 10 deletions

View File

@ -6,7 +6,6 @@ import (
"github.com/stretchr/testify/assert"
)
func TestGetFn(t *testing.T) {
c := newCommand()

View File

@ -218,7 +218,6 @@ func (p *Player) Skip() {
p.execSongFinish(p.currentSong)
}
// GetPosition returns the current position of audio file.
func (p *Player) GetPosition() time.Duration {

View File

@ -6,8 +6,8 @@ import (
"path/filepath"
"testing"
"github.com/rivo/tview"
"github.com/issadarkthing/gomu/player"
"github.com/rivo/tview"
)
// Prepares for test

View File

@ -94,7 +94,6 @@ func TestPushFront(t *testing.T) {
gomu.playlist.addAllToQueue(rapPlaylist)
selSong, err := gomu.queue.deleteItem(2)
if err != nil {
t.Error(err)

View File

@ -8,7 +8,6 @@ import (
"github.com/stretchr/testify/assert"
)
func TestSetupHooks(t *testing.T) {
gomu := newGomu()