Remove test that verifies we can switch to stateless (#120390)

This commit is contained in:
Jonah Williams 2023-02-09 12:58:57 -08:00 committed by GitHub
parent 2239f6c8a9
commit 425ab5dca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ void main() {
tryToDelete(tempDir);
});
testWithoutContext('Can switch between stateless and stateful', () async {
testWithoutContext('Can switch from stateless to stateful', () async {
await flutter.run();
await flutter.hotReload();
final StringBuffer stdout = StringBuffer();
@ -39,13 +39,8 @@ void main() {
project.toggleState();
await flutter.hotReload();
// switch to stateless.
project.toggleState();
await flutter.hotReload();
final String logs = stdout.toString();
expect(logs, contains('STATELESS'));
expect(logs, contains('STATEFUL'));
await subscription.cancel();
});