File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,10 @@ class _TestAppState extends State<TestApp> {
136136 ..as < B > ((state) => _counter = 3 )
137137 ..as < C > ((state) => _counter = 4 );
138138 },
139- listenAlertsIf: (oldAlert, newAlert) => newAlert is D || newAlert is B ,
140- listenStatesIf: (oldState, newState) => newState is A || newState is B || newState is C ,
139+ listenAlertsIf: (oldAlert, newAlert) =>
140+ newAlert is D || newAlert is B ,
141+ listenStatesIf: (oldState, newState) =>
142+ newState is A || newState is B || newState is C ,
141143 child: Center (
142144 child: Column (
143145 mainAxisAlignment: MainAxisAlignment .center,
@@ -200,7 +202,8 @@ void main() {
200202 expect (find.text ("Digester State C: 99" ), findsOneWidget);
201203 });
202204
203- testWidgets ('Alerter updates _counter on alert and state changes' , (tester) async {
205+ testWidgets ('Alerter updates _counter on alert and state changes' ,
206+ (tester) async {
204207 await tester.pumpWidget (
205208 TrentManager (
206209 trents: [register (SimpleTrent ())],
You can’t perform that action at this time.
0 commit comments