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

t\rt-84767.t fails with MSVC built perl due to dir separator #160

Merged
merged 1 commit into from
Dec 4, 2014

Conversation

nanis
Copy link
Contributor

@nanis nanis commented Dec 4, 2014

Hard coded directory separator causes comparison to fail:

Failed test 'die with input line number'
t\rt-84767.t ............... 1/1 #   at t\rt-84767.t line 21.
                'error at t\rt-84767.t line 19.
'
doesn't match '(?^:at t/rt-84767.t line 19)'

Fix by using \Q$0\E instead of t/$Script.

Hard coded directory separator causes comparison to fail:

    Failed test 'die with input line number'
    t\rt-84767.t ............... 1/1 #   at t\rt-84767.t line 21.
                    'error at t\rt-84767.t line 19.
    '
    doesn't match '(?^:at t/rt-84767.t line 19)'

Fix by using `\Q$0\E` instead of `t/$Script`.
leejo pushed a commit that referenced this pull request Dec 4, 2014
t\rt-84767.t fails with MSVC built perl due to dir separator
@leejo leejo merged commit f9f9a6b into leejo:master Dec 4, 2014
@leejo
Copy link
Owner

leejo commented Dec 4, 2014

Thanks!

@nanis nanis deleted the nanis-fix-t-rt-84767 branch December 5, 2014 14:07
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