mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
686d8f8a22
* Upgrade everything except matcher. * Roll matcher (and test) * Adjust tests that depend on flutter:test directly to depend on a shim * Require use of package:test shim and remove other references to package:test
20 lines
528 B
Dart
20 lines
528 B
Dart
// Copyright 2017 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import 'package:flutter_tools/src/vmservice.dart';
|
|
|
|
import 'src/common.dart';
|
|
import 'src/context.dart';
|
|
|
|
void main() {
|
|
group('VMService', () {
|
|
testUsingContext('fails connection eagerly in the connect() method', () async {
|
|
expect(
|
|
VMService.connect(Uri.parse('http://host.invalid:9999/')),
|
|
throwsToolExit(),
|
|
);
|
|
});
|
|
});
|
|
}
|