import'package:test/test.dart';voidmain() {test('async rethrow rethrows the original exception', ()async{awaitexpectLater(Future(()async{try{exception('inner'); }onObject{try{exception('outer'); }onObject{// ignore}rethrow; } }),throwsA(isA<Exception>().having( (e)=>e.toString(),'...