Upgrade to the new test runner. R=sigmund@google.com Review URL: https://codereview.chromium.org//1240033002 .
diff --git a/pkgs/source_span/.gitignore b/pkgs/source_span/.gitignore index 388eff0..7dbf035 100644 --- a/pkgs/source_span/.gitignore +++ b/pkgs/source_span/.gitignore
@@ -3,6 +3,7 @@ .pub/ build/ packages +.packages # Or the files created by dart2js. *.dart.js
diff --git a/pkgs/source_span/.status b/pkgs/source_span/.status deleted file mode 100644 index e9f2b00..0000000 --- a/pkgs/source_span/.status +++ /dev/null
@@ -1,3 +0,0 @@ -# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file -# 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.
diff --git a/pkgs/source_span/.test_config b/pkgs/source_span/.test_config new file mode 100644 index 0000000..412fc5c --- /dev/null +++ b/pkgs/source_span/.test_config
@@ -0,0 +1,3 @@ +{ + "test_package": true +} \ No newline at end of file
diff --git a/pkgs/source_span/pubspec.yaml b/pkgs/source_span/pubspec.yaml index 16eee7c..8f69deb 100644 --- a/pkgs/source_span/pubspec.yaml +++ b/pkgs/source_span/pubspec.yaml
@@ -1,5 +1,5 @@ name: source_span -version: 1.1.2 +version: 1.1.3-dev author: Dart Team <misc@dartlang.org> description: A library for identifying source spans and locations. homepage: http://github.com/dart-lang/source_span @@ -8,4 +8,4 @@ environment: sdk: '>=0.8.10+6 <2.0.0' dev_dependencies: - unittest: '>=0.9.0 <0.12.0' + test: '>=0.12.0 <0.13.0'
diff --git a/pkgs/source_span/test/file_message_test.dart b/pkgs/source_span/test/file_message_test.dart index 18b34e7..5935c58 100644 --- a/pkgs/source_span/test/file_message_test.dart +++ b/pkgs/source_span/test/file_message_test.dart
@@ -2,7 +2,7 @@ // 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. -import 'package:unittest/unittest.dart'; +import 'package:test/test.dart'; import 'package:source_span/source_span.dart'; import 'package:source_span/src/colors.dart' as colors;
diff --git a/pkgs/source_span/test/file_test.dart b/pkgs/source_span/test/file_test.dart index c27c1f6..54bc3d3 100644 --- a/pkgs/source_span/test/file_test.dart +++ b/pkgs/source_span/test/file_test.dart
@@ -2,7 +2,7 @@ // 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. -import 'package:unittest/unittest.dart'; +import 'package:test/test.dart'; import 'package:source_span/source_span.dart'; main() {
diff --git a/pkgs/source_span/test/location_test.dart b/pkgs/source_span/test/location_test.dart index 1eedec4..dcd497a 100644 --- a/pkgs/source_span/test/location_test.dart +++ b/pkgs/source_span/test/location_test.dart
@@ -2,7 +2,7 @@ // 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. -import 'package:unittest/unittest.dart'; +import 'package:test/test.dart'; import 'package:source_span/source_span.dart'; main() {
diff --git a/pkgs/source_span/test/span_test.dart b/pkgs/source_span/test/span_test.dart index 2657f5f..113848a 100644 --- a/pkgs/source_span/test/span_test.dart +++ b/pkgs/source_span/test/span_test.dart
@@ -2,7 +2,7 @@ // 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. -import 'package:unittest/unittest.dart'; +import 'package:test/test.dart'; import 'package:source_span/source_span.dart'; import 'package:source_span/src/colors.dart' as colors;
diff --git a/pkgs/source_span/test/utils_test.dart b/pkgs/source_span/test/utils_test.dart index 74975c3..3b6238b 100644 --- a/pkgs/source_span/test/utils_test.dart +++ b/pkgs/source_span/test/utils_test.dart
@@ -2,7 +2,7 @@ // 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. -import 'package:unittest/unittest.dart'; +import 'package:test/test.dart'; import 'package:source_span/src/utils.dart'; main() {