| Index: test/runner/load_suite_test.dart
|
| diff --git a/test/runner/load_suite_test.dart b/test/runner/load_suite_test.dart
|
| index 941bdeb9eba1788f4829ac706db17436ec5bf443..9a1d2078930ac9ec90ed9d5441dab80b5358a5ad 100644
|
| --- a/test/runner/load_suite_test.dart
|
| +++ b/test/runner/load_suite_test.dart
|
| @@ -8,6 +8,7 @@ import 'dart:async';
|
|
|
| import 'package:test/src/backend/state.dart';
|
| import 'package:test/src/backend/suite.dart';
|
| +import 'package:test/src/backend/test_platform.dart';
|
| import 'package:test/src/runner/load_exception.dart';
|
| import 'package:test/src/runner/load_suite.dart';
|
| import 'package:test/test.dart';
|
| @@ -107,11 +108,12 @@ void main() {
|
| group("changeSuite()", () {
|
| test("returns a new load suite with the same properties", () {
|
| var innerSuite = new Suite([]);
|
| - var suite = new LoadSuite("name", () => innerSuite, platform: "platform");
|
| + var suite = new LoadSuite("name", () => innerSuite,
|
| + platform: TestPlatform.vm);
|
| expect(suite.tests, hasLength(1));
|
|
|
| var newSuite = suite.changeSuite((suite) => suite);
|
| - expect(newSuite.platform, equals("platform"));
|
| + expect(newSuite.platform, equals(TestPlatform.vm));
|
| expect(newSuite.tests, equals(suite.tests));
|
| });
|
|
|
|
|