flutter/dev/devicelab/bin/tasks/smoke_test_throws.dart
2021-06-05 02:29:03 -07:00

15 lines
378 B
Dart

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'package:flutter_devicelab/framework/framework.dart';
/// Smoke test of a task that fails with an exception.
Future<void> main() async {
await task(() async {
throw 'failed';
});
}