update ErrorHandler test to work from either . or sbin
This commit is contained in:
parent
4da7c74740
commit
2843dd195b
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ is($eh->{'_debug_error'}, "ERROR\nMore errors\n", "error: new message internally
|
|||
####################################################
|
||||
|
||||
is ($eh->getStackTrace, undef, 'no stack trace due to shallow depth, must be 2 deep for a stack trace');
|
||||
like(&depth1(), qr/main,ErrorHandler\.t/, 'stack trace has correct information');
|
||||
like(&depth1(), qr/main(.*?)ErrorHandler\.t/, 'stack trace has correct information');
|
||||
|
||||
sub depth1 {
|
||||
return &depth2();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue