Skip to content

Instantly share code, notes, and snippets.

Created August 26, 2020 16:29
What would you like to do?
Protocol::Redis::XS nil tests
use strict;
use warnings;
use Test::More;
use Protocol::Redis::XS;
my $redis = new_ok 'Protocol::Redis::XS', [api => 1];
is $redis->get_message->{data}, undef, "nil bulk message";
is $redis->get_message->{data}, undef, "nil multi-bulk message";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment