Skip to content

Commit

Permalink
- optimized tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixCrawler committed May 28, 2024
1 parent fb29efc commit 9e51cbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions lib/recent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import (
)

func Test_convertData(t *testing.T) {
recentFileContent, err := os.ReadFile("../test-data/recent/RECENT_OLD_FORMAT")
if err != nil {
logger.Error("Could not open file ../test-data/recent/RECENT_OLD_FORMAT")
}
recentFileContent := []byte("1.5.6\n0.13.0-rc1\n1.0.11\n")

var recentFileData RecentFiles
convertOldRecentFile(recentFileContent, &recentFileData)
Expand Down
3 changes: 0 additions & 3 deletions test-data/recent/RECENT_OLD_FORMAT

This file was deleted.

0 comments on commit 9e51cbd

Please sign in to comment.