This makes the behaviour of the overriden validate more closely resemble that of the original package's.
Since we are testing for the absence of a warning, this does include adding a test dependency on Test::Warnings, but this could be removed if the test was redesigned.
Coverage remained the same at 100.0% when pulling 9e65ca72f2534fd53c4194149f249aa88d52c281 on jjatria:validate-hashref into b21205740355706c56fdeb0a4fb69be01b49cbff on DrHyde:master.
This makes the behaviour of the overriden
validate
more closely resemble that of the original package's.Since we are testing for the absence of a warning, this does include adding a test dependency on Test::Warnings, but this could be removed if the test was redesigned.
This fixes #3.