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

cmp_deeply dies when using only Test::Deep::NoTest #60

Open
adamu opened this issue Jul 24, 2017 · 0 comments
Open

cmp_deeply dies when using only Test::Deep::NoTest #60

adamu opened this issue Jul 24, 2017 · 0 comments

Comments

@adamu
Copy link

adamu commented Jul 24, 2017

use Test::Deep::NoTest;
my $res = cmp_deeply([1,2,3], [4,5,6]);
Can't call method "ok" on an undefined value at .../Test/Deep.pm line 204.

Line 204 is doing if (not $Test->ok($ok, $name)), but $Test is not defined because this is NoTest.

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

No branches or pull requests

1 participant