platform/packages/testing/example/main.dart

9 lines
206 B
Dart
Raw Permalink Normal View History

import 'dart:async';
import 'package:platform_testing/http.dart';
Future<void> main() async {
var rq =
MockHttpRequest('GET', Uri.parse('/foo'), persistentConnection: false);
await rq.close();
}