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/07_stub_sub_bug.t failure with recent perl #49

Open
jddurand opened this issue Jan 2, 2023 · 2 comments
Open

t/07_stub_sub_bug.t failure with recent perl #49

jddurand opened this issue Jan 2, 2023 · 2 comments
Assignees

Comments

@jddurand
Copy link

jddurand commented Jan 2, 2023

Hello,

Do not know if this related to perl versions, though the following test fails for me on MSWin32 and perl 5.37.6:

Running Build test for GFUJI/Test-Vars-0.015.tar.gz
t/00_load.t .............. 1/1 # Testing Test::Vars/0.015
t/00_load.t .............. ok
t/01_all_vars_ok_self.t .. ok
t/02_no_warnings.t ....... 1/? # Test::Vars ignores CompileError.pm because: Intentional compile error.
# Test::Vars ignores ImplicitTopic.pm because: Can't use global $_ in "my" at t/lib/ImplicitTopic.pm line 6, near "my $_ "
t/02_no_warnings.t ....... ok
t/03_warned.t ............ ok
t/04_ignores.t ........... ok
t/05_test_vars.t ......... ok
t/06_vars_ok_self.t ...... ok
t/07_stub_sub_bug.t ...... 1/?
#   Failed test 'got expected output from test_vars'
#   at t/07_stub_sub_bug.t line 25.
#     Structures begin differing at:
#          $got->[0][2][1][1] = '$x is used once in &StubSub::foo '
#     $expected->[0][2][1][1] = '$x is used once in &StubSub::foo at t/lib/StubSub.pm line 13'
# Looks like you failed 1 test of 2.
t/07_stub_sub_bug.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/08_undef_aux_list.t .... ok
t/09_array_slice.t ....... ok
t/10_my_sub.t ............ ok
@jkeenan
Copy link
Collaborator

jkeenan commented May 12, 2023

This appears to be the same problem as was reported in #47, which is currently unresolved.

@jkeenan
Copy link
Collaborator

jkeenan commented Sep 11, 2024

This appears to be the same problem as was reported in #47, which is currently unresolved.

This should be alleviated by the release of Test-Vars-0.016, which I hope to make by September 19. If you'd like, you can test out this tarball which contains most of the changes that will go into 0.016.

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

No branches or pull requests

2 participants