| Index: pkg/unittest/test/runtests_without_tests_test.dart
|
| diff --git a/pkg/unittest/test/runtests_without_tests_test.dart b/pkg/unittest/test/runtests_without_tests_test.dart
|
| index b4c9512263c07867333b7f216a55acf584222c6a..4257ddaa381e305f0480e3a47144b80623ae23c8 100644
|
| --- a/pkg/unittest/test/runtests_without_tests_test.dart
|
| +++ b/pkg/unittest/test/runtests_without_tests_test.dart
|
| @@ -2,19 +2,18 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -library unittestTest;
|
| -
|
| -import 'dart:async';
|
| -import 'dart:isolate';
|
| +library unittest.runtests_without_tests;
|
|
|
| import 'package:unittest/unittest.dart';
|
|
|
| -part 'utils.dart';
|
| +import 'package:metatest/metatest.dart';
|
|
|
| -var testName = 'runTests() without tests';
|
| +void main() => initTests(_test);
|
|
|
| -var testFunction = (_) {
|
| - runTests();
|
| -};
|
| +void _test(message) {
|
| + initMetatest(message);
|
|
|
| -var expected = buildStatusString(0, 0, 0, null);
|
| + expectTestResults('runTests() without tests', () {
|
| + group('no tests', () {});
|
| + }, []);
|
| +}
|
|
|