Skip to content

Commit 1fba952

Browse files
committed
Skip colon path report test on Windows
1 parent 6c0303b commit 1fba952

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/report_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,10 @@ func TestReportCommand_GitRefUsesLeftRightMode(t *testing.T) {
526526
}
527527

528528
func TestReportCommand_RepoHistoryColonPathUsesHistoryMode(t *testing.T) {
529+
if os.PathSeparator == '\\' {
530+
t.Skip("colon filenames are not portable on Windows")
531+
}
532+
529533
repoDir := createGitSpecRepoForFile(t, "v1:beta.yaml")
530534
chdirForTest(t, t.TempDir())
531535

0 commit comments

Comments
 (0)