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

correct handling windows backslash in import path #721

Merged
merged 1 commit into from Sep 24, 2020
Merged

correct handling windows backslash in import path #721

merged 1 commit into from Sep 24, 2020

Conversation

bakito
Copy link
Contributor

@bakito bakito commented Sep 23, 2020

When using the generate command in windows with go mod enabled modules, the import in the generated test file is generated with windows backslash instead of forward slash.

This PR corrects and replaces the backslash into a forward slash to make the import path valid.

@onsi
Copy link
Owner

onsi commented Sep 24, 2020

lgtm thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants