File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/flutter_tools/test/integration.shard Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ void main() {
2929 tryToDelete (tempDir);
3030 });
3131
32- testWithoutContext ('Can switch between stateless and stateful' , () async {
32+ testWithoutContext ('Can switch from stateless to stateful' , () async {
3333 await flutter.run ();
3434 await flutter.hotReload ();
3535 final StringBuffer stdout = StringBuffer ();
@@ -39,13 +39,8 @@ void main() {
3939 project.toggleState ();
4040 await flutter.hotReload ();
4141
42- // switch to stateless.
43- project.toggleState ();
44- await flutter.hotReload ();
45-
4642 final String logs = stdout.toString ();
4743
48- expect (logs, contains ('STATELESS' ));
4944 expect (logs, contains ('STATEFUL' ));
5045 await subscription.cancel ();
5146 });
You can’t perform that action at this time.
0 commit comments