Skip to content

Commit

Permalink
fix: tests bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalPazz committed Jul 25, 2024
1 parent dfaed29 commit 81599e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/manipulations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tests
import (
"os"
"path"
"promoter/helpers/manipulations"
"promoter/helpers/data"
"testing"
)

Expand All @@ -23,7 +23,7 @@ func TestFileExists(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {

home, _ := os.UserHomeDir()
exists := manipulations.FileExists(path.Join(home, tt.filePath))
exists := data.FileExists(path.Join(home, tt.filePath))

if tt.expectedValue != exists {
t.Errorf("expected %v but got %v", tt.expectedValue, exists)
Expand Down

0 comments on commit 81599e0

Please sign in to comment.