@@ -57,7 +57,7 @@ t_mbulk_reply($redis);
57
57
t_mbulk_reply_empty_list($redis );
58
58
t_mbulk_reply_undef($redis );
59
59
t_nested_mbulk_reply($redis );
60
- t_multi_word_command ($redis );
60
+ t_multiword_command ($redis );
61
61
t_oprn_error($redis );
62
62
t_default_on_error($redis );
63
63
t_error_after_exec($redis );
@@ -101,7 +101,7 @@ sub t_status_reply {
101
101
}
102
102
);
103
103
104
- is( $t_reply , ' OK' , ' SET; status reply' );
104
+ is( $t_reply , ' OK' , ' status reply; SET ' );
105
105
106
106
return ;
107
107
}
@@ -141,7 +141,7 @@ sub t_numeric_reply {
141
141
}
142
142
);
143
143
144
- is( $t_reply , 1, ' INCR; numeric reply' );
144
+ is( $t_reply , 1, ' numeric reply; INCR ' );
145
145
146
146
return ;
147
147
}
@@ -183,7 +183,7 @@ sub t_bulk_reply {
183
183
}
184
184
);
185
185
186
- is( $t_reply , " some\r\n string" , ' GET; bulk reply' );
186
+ is( $t_reply , " some\r\n string" , ' bulk reply; GET ' );
187
187
188
188
return ;
189
189
}
@@ -212,7 +212,7 @@ sub t_set_undef {
212
212
}
213
213
);
214
214
215
- is( $t_reply , ' OK' , ' SET; undef' );
215
+ is( $t_reply , ' OK' , ' write undef; SET ' );
216
216
217
217
return ;
218
218
}
@@ -241,7 +241,7 @@ sub t_get_undef {
241
241
}
242
242
);
243
243
244
- is( $t_reply , ' ' , ' GET; undef' );
244
+ is( $t_reply , ' ' , ' read undef; GET ' );
245
245
246
246
return ;
247
247
}
@@ -281,7 +281,7 @@ sub t_set_utf8_string {
281
281
}
282
282
);
283
283
284
- is( $t_reply , ' OK' , ' SET; UTF-8 string' );
284
+ is( $t_reply , ' OK' , ' write UTF-8 string; SET ' );
285
285
286
286
return ;
287
287
}
@@ -323,7 +323,7 @@ sub t_get_utf8_string {
323
323
}
324
324
);
325
325
326
- is( $t_reply , ' Значение' , ' GET; UTF-8 string' );
326
+ is( $t_reply , ' Значение' , ' read UTF-8 string; GET ' );
327
327
328
328
return ;
329
329
}
@@ -353,7 +353,7 @@ sub t_get_non_existent {
353
353
}
354
354
);
355
355
356
- ok( !defined $t_reply && !defined $t_err , ' GET; non existent key' );
356
+ ok( !defined $t_reply && !defined $t_err , ' read non existent key; GET ' );
357
357
358
358
return ;
359
359
}
@@ -404,7 +404,7 @@ sub t_mbulk_reply {
404
404
element_3
405
405
)
406
406
],
407
- ' LRANGE; multi-bulk reply'
407
+ ' multi-bulk reply; LRANGE '
408
408
);
409
409
410
410
return ;
@@ -434,7 +434,7 @@ sub t_mbulk_reply_empty_list {
434
434
}
435
435
);
436
436
437
- is_deeply( $t_reply , [], ' LRANGE; empty list' );
437
+ is_deeply( $t_reply , [], ' read empty list; LRANGE ' );
438
438
439
439
return ;
440
440
}
@@ -464,7 +464,7 @@ sub t_mbulk_reply_undef {
464
464
}
465
465
);
466
466
467
- ok( !defined $t_reply && !defined $t_err , ' BRPOP; multi-bulk undef' );
467
+ ok( !defined $t_reply && !defined $t_err , ' read multi-bulk undef; BLPOP ' );
468
468
469
469
return ;
470
470
}
@@ -533,13 +533,13 @@ sub t_nested_mbulk_reply {
533
533
)
534
534
],
535
535
],
536
- ' EXEC; nested multi-bulk reply'
536
+ ' nested multi-bulk reply; MULTI/EXEC '
537
537
);
538
538
539
539
return ;
540
540
}
541
541
542
- sub t_multi_word_command {
542
+ sub t_multiword_command {
543
543
my $redis = shift ;
544
544
545
545
my $ver = get_redis_version($redis );
@@ -570,7 +570,7 @@ sub t_multi_word_command {
570
570
}
571
571
);
572
572
573
- is_deeply( $t_reply , ' OK' , ' CLIENT SETNAME; multiple word command ' );
573
+ is_deeply( $t_reply , ' OK' , ' multiword command; CLIENT SETNAME ' );
574
574
575
575
ev_loop(
576
576
sub {
@@ -591,7 +591,7 @@ sub t_multi_word_command {
591
591
}
592
592
);
593
593
594
- is_deeply( $t_reply , ' test' , ' CLIENT GETNAME; multiple word command ' );
594
+ is_deeply( $t_reply , ' test' , ' multiword command; CLIENT GETNAME ' );
595
595
}
596
596
597
597
return ;
@@ -618,7 +618,7 @@ sub t_oprn_error {
618
618
}
619
619
);
620
620
621
- my $t_npref = ' operation error; ' ;
621
+ my $t_npref = ' operation error' ;
622
622
isa_ok( $t_err , ' AnyEvent::RipeRedis::Error' );
623
623
ok( defined $t_err -> message, " $t_npref ; error message" );
624
624
is( $t_err -> code, E_OPRN_ERROR, " $t_npref ; error code" );
@@ -677,7 +677,7 @@ sub t_error_after_exec {
677
677
}
678
678
);
679
679
680
- my $t_npref = ' error after EXEC; ' ;
680
+ my $t_npref = ' error after EXEC' ;
681
681
isa_ok( $t_err , ' AnyEvent::RipeRedis::Error' );
682
682
is( $t_err -> message, q{ Operation "exec" completed with errors.} ,
683
683
" $t_npref ; error message" );
@@ -733,7 +733,7 @@ sub t_discard {
733
733
}
734
734
);
735
735
736
- is( $t_reply , ' OK' , ' DISCARD; status reply ' );
736
+ is( $t_reply , ' OK' , ' DISCARD' );
737
737
738
738
return ;
739
739
}
@@ -775,7 +775,7 @@ sub t_execute {
775
775
}
776
776
);
777
777
778
- is( $t_reply , ' OK' , ' execute; status reply ' );
778
+ is( $t_reply , ' OK' , ' execute' );
779
779
780
780
return ;
781
781
}
@@ -804,7 +804,7 @@ sub t_quit {
804
804
}
805
805
);
806
806
807
- is( $t_reply , ' OK' , ' QUIT; status reply; disconnect ' );
807
+ is( $t_reply , ' OK' , ' disconnect; QUIT ' );
808
808
ok( $T_DISCONNECTED , ' on_disconnect' );
809
809
810
810
return ;
0 commit comments