Skip to content

Commit a5c2cb2

Browse files
authored
Make sure tests can fail (#90)
1 parent 91e80d9 commit a5c2cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/testing/utils/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ extension RunTests on List<({String name, Future<void> Function() test})> {
5656
} catch (e, st) {
5757
log('FAILED: $name\n$e\n$st\n--------------------------------------');
5858
pass = false;
59-
failed = false;
59+
failed = true;
6060
}
6161
if (pass) {
6262
log('PASS: $name');

0 commit comments

Comments
 (0)