Skip to content

Commit a02f560

Browse files
committed
Minor changes in tests
1 parent 525a055 commit a02f560

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/04-commands.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ t_mbulk_reply_empty_list($redis);
5757
t_mbulk_reply_undef($redis);
5858
t_nested_mbulk_reply($redis);
5959
t_multiword_command($redis);
60-
t_oprn_error($redis);
60+
t_error_reply($redis);
6161
t_default_on_error($redis);
6262
t_error_after_exec($redis);
6363
t_discard($redis);
@@ -596,7 +596,7 @@ sub t_multiword_command {
596596
return;
597597
}
598598

599-
sub t_oprn_error {
599+
sub t_error_reply {
600600
my $redis = shift;
601601

602602
my $t_err;
@@ -617,7 +617,7 @@ sub t_oprn_error {
617617
}
618618
);
619619

620-
my $t_npref = 'operation error';
620+
my $t_npref = 'error reply';
621621
isa_ok( $t_err, 'AnyEvent::RipeRedis::Error' );
622622
ok( defined $t_err->message, "$t_npref; error message" );
623623
is( $t_err->code, E_OPRN_ERROR, "$t_npref; error code" );
@@ -647,7 +647,7 @@ sub t_default_on_error {
647647
}
648648
);
649649

650-
ok( defined $t_err_msg, q{Default 'on_error' callback} );
650+
ok( defined $t_err_msg, q{Default "on_error" callback} );
651651

652652
return;
653653
}

0 commit comments

Comments
 (0)