diff options
-rw-r--r-- | t/004-submatching.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/004-submatching.t b/t/004-submatching.t index 3eb2b96..e9f2d22 100644 --- a/t/004-submatching.t +++ b/t/004-submatching.t @@ -99,7 +99,7 @@ package main; a => 4, }, baz => { - d => sub { length == 4 }, + d => sub { defined && length == 4 }, a => { b => 5, c => qr/\d/, |