Skip to content

Commit 4bd5497

Browse files
committed
Clean-up. Accidentally merged a removed lint back in.
1 parent 9fa57d1 commit 4bd5497

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pkgs/fake_async/analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ linter:
1414
- join_return_with_assignment
1515
- literal_only_boolean_expressions
1616
- no_adjacent_strings_in_list
17-
- prefer_const_constructors
1817
- prefer_final_locals
1918
- unnecessary_await_in_return

pkgs/fake_async/test/fake_async_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ void main() {
821821
log.clear();
822822
Timer.periodic(elapseBy * 2, (t) {
823823
if (t.tick == 2) {
824-
throw 'periodic timer error'; // ignore: only_throw_errors
824+
throw 'periodic timer error'; // ignore: only_throw_errors
825825
}
826826
});
827827
});
@@ -842,10 +842,10 @@ void main() {
842842
zone.run(() {
843843
log.clear();
844844
scheduleMicrotask(() {
845-
throw 'microtask error'; // ignore: only_throw_errors
845+
throw 'microtask error'; // ignore: only_throw_errors
846846
});
847847
Timer(elapseBy, () {
848-
throw 'timer error'; // ignore: only_throw_errors
848+
throw 'timer error'; // ignore: only_throw_errors
849849
});
850850
});
851851
expect(log, ['r0(#4)', 'r0(#5)']);

0 commit comments

Comments
 (0)