Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

like and unlike no longer issue undef warnings #371

wants to merge 3 commits into


None yet
2 participants

schwern commented Apr 23, 2013

For #335

I'll merge it into the Test-Builder1.5 branch with the normal master -> TB1.5 merge once it's accepted.

nnutter and others added some commits Apr 5, 2013

fix bug when test_fail is called via a do statement
test_fail used $0 as the filename instead of the filename reported by
caller. Under normal execution these would be the same but if the test
is executed by a do block then these would no longer be the same.
Merge pull request #369 from nnutter/master
fix bug when test_fail is called via a do statement (for 0.98 series)
like() and unlike() no longer warn about undef.
Not much sense, they can see it in the diagnostics, and the warning
message is a bit confusing.

    Use of uninitialized value $this in pattern match (m//) at x:\test.t line 6.

It reports the right location, but there's no $this from the user's

This came in because like used to supress all warnings.  That was
fixed in 8b2f0c6 but it let
uninit warnings slip in.

For #335.

schwern commented Apr 23, 2013

Whoops, pulled against the wrong branch.

@schwern schwern closed this Apr 23, 2013

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