Skip to content

Commit

Permalink
Merge pull request #465 from Chamindu36/chamindu_master_fixes
Browse files Browse the repository at this point in the history
Set up path separator supported for all Operating systems when running Integration Tests
  • Loading branch information
uvindra authored Aug 13, 2020
2 parents 25b09fb + 2403de7 commit e040122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import-export-cli/integration/base/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func CreateTempDir(t *testing.T, path string) {
}

func GetExportedPathFromOutput(output string) string {
return strings.ReplaceAll(strings.ReplaceAll(output[strings.Index(output, "/"):], "\n", ""), " ", "")
return strings.ReplaceAll(strings.ReplaceAll(output[strings.Index(output, string(os.PathSeparator)):], "\n", ""), " ", "")
}

//Count number of files in a directory
Expand Down

0 comments on commit e040122

Please sign in to comment.