Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Windows readdir paths #5

Merged
merged 6 commits into from
May 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updates test case generator for windows
  • Loading branch information
connerdouglass committed May 19, 2022
commit 74a5017f3f04b66d6eaf5006cab2b3e459d3fefc
1 change: 1 addition & 0 deletions mediadir/testcases/testcases.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func LoadTestCases() (fs.FS, []TestCase) {
if runtime.GOOS == "windows" {
tc.Filename = strings.ReplaceAll(tc.Filename, "/", string(os.PathSeparator))
}
tc.Filename = strings.Trim(tc.Filename, string(os.PathSeparator))
cases = append(cases, tc)
}

Expand Down