@@ -133,7 +133,7 @@ void main() {
133
133
messageId: messageId,
134
134
applyMarkdown: applyMarkdown,
135
135
);
136
- check (connection.lastRequest).isNotNull (). isA< http.Request > ()
136
+ check (connection.lastRequest).isA< http.Request > ()
137
137
..method.equals ('GET' )
138
138
..url.path.equals ('/api/v1/messages/$messageId ' )
139
139
..url.queryParameters.deepEquals (expected);
@@ -230,7 +230,7 @@ void main() {
230
230
numBefore: numBefore, numAfter: numAfter,
231
231
clientGravatar: clientGravatar, applyMarkdown: applyMarkdown,
232
232
);
233
- check (connection.lastRequest).isNotNull (). isA< http.Request > ()
233
+ check (connection.lastRequest).isA< http.Request > ()
234
234
..method.equals ('GET' )
235
235
..url.path.equals ('/api/v1/messages' )
236
236
..url.queryParameters.deepEquals (expected);
@@ -306,7 +306,7 @@ void main() {
306
306
final result = await sendMessage (connection,
307
307
destination: destination, content: content);
308
308
check (result).id.equals (42 );
309
- check (connection.lastRequest).isNotNull (). isA< http.Request > ()
309
+ check (connection.lastRequest).isA< http.Request > ()
310
310
..method.equals ('POST' )
311
311
..url.path.equals ('/api/v1/messages' )
312
312
..bodyFields.deepEquals (expectedBodyFields);
@@ -363,7 +363,7 @@ void main() {
363
363
emojiCode: reaction.emojiCode,
364
364
emojiName: reaction.emojiName,
365
365
);
366
- check (connection.lastRequest).isNotNull (). isA< http.Request > ()
366
+ check (connection.lastRequest).isA< http.Request > ()
367
367
..method.equals ('POST' )
368
368
..url.path.equals ('/api/v1/messages/$messageId /reactions' )
369
369
..bodyFields.deepEquals ({
@@ -414,7 +414,7 @@ void main() {
414
414
emojiCode: reaction.emojiCode,
415
415
emojiName: reaction.emojiName,
416
416
);
417
- check (connection.lastRequest).isNotNull (). isA< http.Request > ()
417
+ check (connection.lastRequest).isA< http.Request > ()
418
418
..method.equals ('DELETE' )
419
419
..url.path.equals ('/api/v1/messages/$messageId /reactions' )
420
420
..bodyFields.deepEquals ({
0 commit comments