Skip to content

Commit f78363c

Browse files
committed
Cosmetic
1 parent 9e4f60a commit f78363c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

t/10-exceptions.t

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,55 +153,55 @@ sub t_not_allowed_after_multi {
153153
$redis->subscribe('channel');
154154
},
155155
qr/Command "subscribe" not allowed after "multi" command/,
156-
"not allowed after multi; SUBSCRIBE",
156+
"not allowed after MULTI command; SUBSCRIBE",
157157
);
158158

159159
like(
160160
exception {
161161
$redis->unsubscribe('channel');
162162
},
163163
qr/Command "unsubscribe" not allowed after "multi" command/,
164-
"not allowed after multi; UNSUBSCRIBE",
164+
"not allowed after MULTI command; UNSUBSCRIBE",
165165
);
166166

167167
like(
168168
exception {
169169
$redis->psubscribe('pattern_*');
170170
},
171171
qr/Command "psubscribe" not allowed after "multi" command/,
172-
"not allowed after multi; PSUBSCRIBE",
172+
"not allowed after MULTI command; PSUBSCRIBE",
173173
);
174174

175175
like(
176176
exception {
177177
$redis->punsubscribe('pattern_*');
178178
},
179179
qr/Command "punsubscribe" not allowed after "multi" command/,
180-
"not allowed after multi; PUNSUBSCRIBE",
180+
"not allowed after MULTI command; PUNSUBSCRIBE",
181181
);
182182

183183
like(
184184
exception {
185185
$redis->info;
186186
},
187187
qr/Command "info" not allowed after "multi" command/,
188-
"not allowed after multi; INFO",
188+
"not allowed after MULTI command; INFO",
189189
);
190190

191191
like(
192192
exception {
193193
$redis->select(2);
194194
},
195195
qr/Command "select" not allowed after "multi" command/,
196-
"not allowed after multi; SELECT",
196+
"not allowed after MULTI command; SELECT",
197197
);
198198

199199
like(
200200
exception {
201201
$redis->quit;
202202
},
203203
qr/Command "quit" not allowed after "multi" command/,
204-
"not allowed after multi; QUIT",
204+
"not allowed after MULTI command; QUIT",
205205
);
206206

207207
$redis->disconnect;

0 commit comments

Comments
 (0)