diff --git a/pkgs/leak_tracker_flutter_test/test/flutter_test_config_test/flutter_test_config.dart b/pkgs/leak_tracker_flutter_test/test/flutter_test_config_test/flutter_test_config.dart index 4787b058..50e78fb2 100644 --- a/pkgs/leak_tracker_flutter_test/test/flutter_test_config_test/flutter_test_config.dart +++ b/pkgs/leak_tracker_flutter_test/test/flutter_test_config_test/flutter_test_config.dart @@ -26,7 +26,7 @@ Future testExecutable(FutureOr Function() testMain) async { if (e is! TestFailure) { rethrow; } - expect(e.message, contains(test1TrackingOn)); + expect(e.message, contains('test: $test1TrackingOn')); expect(e.message!.contains(test2TrackingOff), false); print(e.message); }