Skip to content

Commit 425ab5d

Browse files
Remove test that verifies we can switch to stateless (#120390)
1 parent 2239f6c commit 425ab5d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/flutter_tools/test/integration.shard/stateless_stateful_hot_reload_test.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)