This reverts commit 297c7b5cf2.
This commit is contained in:
@@ -20,10 +20,11 @@ void main() {
|
||||
group('parse service', () {
|
||||
const String badOutput = 'No uri here';
|
||||
const String sampleOutput = 'An Observatory debugger and profiler on '
|
||||
'Pixel 3 XL is available at: http://127.0.0.1:9090/LpjUpsdEjqI=/';
|
||||
'Pixel 3 XL is available at: http://127.0.0.1:9090/LpjUpsdEjqI=/';
|
||||
|
||||
test('uri', () {
|
||||
expect(parseServiceUri(sampleOutput), Uri.parse('http://127.0.0.1:9090/LpjUpsdEjqI=/'));
|
||||
expect(parseServiceUri(sampleOutput),
|
||||
Uri.parse('http://127.0.0.1:9090/LpjUpsdEjqI=/'));
|
||||
expect(parseServiceUri(badOutput), null);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user