We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd25ab0 commit 5f1949cCopy full SHA for 5f1949c
packages/flutter_tools/test/protocol_discovery_test.dart
@@ -66,6 +66,14 @@ void main() {
66
expect('$uri', 'http://127.0.0.1:3333');
67
});
68
69
+ testUsingContext('discovers uri even if logs has ESC Ascii', () async {
70
+ initialize();
71
+ logReader.addLine('Observatory listening on http://127.0.0.1:3333 \x1b[');
72
+ final Uri uri = await discoverer.uri;
73
+ expect(uri.port, 3333);
74
+ expect('$uri', 'http://127.0.0.1:3333');
75
+ });
76
+
77
testUsingContext('uri throws if logs produce bad line', () async {
78
initialize();
79
Timer.run(() {
0 commit comments