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() {
29
29
tryToDelete (tempDir);
30
30
});
31
31
32
- testWithoutContext ('Can switch between stateless and stateful' , () async {
32
+ testWithoutContext ('Can switch from stateless to stateful' , () async {
33
33
await flutter.run ();
34
34
await flutter.hotReload ();
35
35
final StringBuffer stdout = StringBuffer ();
@@ -39,13 +39,8 @@ void main() {
39
39
project.toggleState ();
40
40
await flutter.hotReload ();
41
41
42
- // switch to stateless.
43
- project.toggleState ();
44
- await flutter.hotReload ();
45
-
46
42
final String logs = stdout.toString ();
47
43
48
- expect (logs, contains ('STATELESS' ));
49
44
expect (logs, contains ('STATEFUL' ));
50
45
await subscription.cancel ();
51
46
});
You can’t perform that action at this time.
0 commit comments