File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1252,7 +1252,10 @@ void verifyNoMoreInteractions(var mock) {
1252
1252
if (mock is Mock ) {
1253
1253
final unverified = mock._realCalls.where ((inv) => ! inv.verified).toList ();
1254
1254
if (unverified.isNotEmpty) {
1255
- fail ('No more calls expected, but following found: ${unverified .join ()}' );
1255
+ fail (
1256
+ 'No more calls expected, but following found: '
1257
+ '${unverified .join (',\n ' )}' ,
1258
+ );
1256
1259
}
1257
1260
} else {
1258
1261
_throwMockArgumentError ('verifyNoMoreInteractions' , mock);
@@ -1264,7 +1267,7 @@ void verifyZeroInteractions(var mock) {
1264
1267
if (mock._realCalls.isNotEmpty) {
1265
1268
fail (
1266
1269
'No interaction expected, but following found: '
1267
- '${mock ._realCalls .join ()}' ,
1270
+ '${mock ._realCalls .join (', \n ' )}' ,
1268
1271
);
1269
1272
}
1270
1273
} else {
You can’t perform that action at this time.
0 commit comments