Unverified Commit 425ab5dc authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

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

parent 2239f6c8
...@@ -29,7 +29,7 @@ void main() { ...@@ -29,7 +29,7 @@ void main() {
tryToDelete(tempDir); tryToDelete(tempDir);
}); });
testWithoutContext('Can switch between stateless and stateful', () async { testWithoutContext('Can switch from stateless to stateful', () async {
await flutter.run(); await flutter.run();
await flutter.hotReload(); await flutter.hotReload();
final StringBuffer stdout = StringBuffer(); final StringBuffer stdout = StringBuffer();
...@@ -39,13 +39,8 @@ void main() { ...@@ -39,13 +39,8 @@ void main() {
project.toggleState(); project.toggleState();
await flutter.hotReload(); await flutter.hotReload();
// switch to stateless.
project.toggleState();
await flutter.hotReload();
final String logs = stdout.toString(); final String logs = stdout.toString();
expect(logs, contains('STATELESS'));
expect(logs, contains('STATEFUL')); expect(logs, contains('STATEFUL'));
await subscription.cancel(); await subscription.cancel();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment