File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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)' ]);
You can’t perform that action at this time.
0 commit comments