Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/src/build_log_tracking.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ void initializeBuildLogTracking() {
});

tearDown(() async {
clearBuildLog();
if (logSubscription != null) {
await logSubscription!.cancel();
logSubscription = null;
Expand Down
1 change: 1 addition & 0 deletions lib/src/test_annotated_classes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ class AnnotatedTest<T> {
);
} on TestFailure {
printOnFailure("ACTUAL CONTENT:\nr'''\n$output'''");
clearBuildLog();
rethrow;
}

Expand Down