Subject: | type() does not behave like real Redis |
type() returns undef if the key does not exist, but real Redis returns
'none':
$ redis-cli
redis 127.0.0.1:6379> type zzzzzzzz
none
$ perl -MTest::Mock::Redis -wle'print
Test::Mock::Redis->new->type("zzzzzzzz")'
Use of uninitialized value in print at -e line 1.