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

(GH-828) Munge backslash in rake paths for unit tests #878

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

glennsarti
Copy link
Contributor

Fixes #828

Rake doesn't accept backslash as a path separator in the rake command line and
expects ALL paths to use forward slash as the separator. This commit updates
the PDK::Test::Unit class to munge Windows paths prior to invoking rake.

Rake doesn't accept backslash as a path separator in the rake command line and
expects ALL paths to use forward slash as the separator.  This commit updates
the PDK::Test::Unit class to munge Windows paths prior to invoking rake.
@glennsarti glennsarti requested a review from a team as a code owner March 30, 2020 01:03
@glennsarti glennsarti added this to the April 2020 milestone Mar 30, 2020
@glennsarti glennsarti self-assigned this Mar 30, 2020
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 91.205% when pulling d8f1cd6 on glennsarti:gh828-munge-backslash into 9fd0f37 on puppetlabs:master.

@glennsarti glennsarti merged commit dc936b9 into puppetlabs:master Mar 30, 2020
@scotje scotje added the bug label May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running individual rspec tests on Windows requires escaping the path
4 participants