diff --git a/Changes b/Changes index 89c2d68..b43fc1e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Test::WWW::WebKit2 +0.113 Wed Feb 09 14:30:00 CET 2022 + +Get rid of uninitialized warnings in value_is + 0.112 Fri Feb 04 12:00:00 CET 2022 Remove default timeout for click_ok, we want no timeout here unless explicitely requested diff --git a/lib/Test/WWW/WebKit2.pm b/lib/Test/WWW/WebKit2.pm index 228c8ad..06d12d1 100644 --- a/lib/Test/WWW/WebKit2.pm +++ b/lib/Test/WWW/WebKit2.pm @@ -42,7 +42,7 @@ has 'debug' => ( default => 0, ); -our $VERSION = '0.112'; +our $VERSION = '0.113'; sub shout { my ($self, $error) = @_; @@ -325,6 +325,7 @@ sub body_text_like { sub value_is { my ($self, $locator, $value, $description) = @_; + $description //= ''; local $Test::Builder::Level = $Test::Builder::Level + 1; is(eval { $self->get_value($locator) }, $value, "value_is($locator, $value, $description)")