mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Remove test that verifies we can switch to stateless (#120390)
This commit is contained in:
parent
2239f6c8a9
commit
425ab5dca5
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user