Skip to content

Commit

Permalink
Upgrade to the new test runner.
Browse files Browse the repository at this point in the history
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1228353010 .
  • Loading branch information
nex3 committed Jul 16, 2015
1 parent 9f00056 commit a7f8bf8
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,6 +3,7 @@
.pub/
build/
packages
.packages

# Or the files created by dart2js.
*.dart.js
Expand Down
3 changes: 0 additions & 3 deletions .status

This file was deleted.

3 changes: 3 additions & 0 deletions .test_config
@@ -0,0 +1,3 @@
{
"test_package": true
}
4 changes: 2 additions & 2 deletions pubspec.yaml
@@ -1,5 +1,5 @@
name: string_scanner
version: 0.1.3+1
version: 0.1.4-dev
author: "Dart Team <misc@dartlang.org>"
homepage: https://github.com/dart-lang/string_scanner
description: >
Expand All @@ -8,6 +8,6 @@ dependencies:
path: ">=1.2.0 <2.0.0"
source_span: ">=1.0.0 <2.0.0"
dev_dependencies:
unittest: ">=0.10.0 <0.12.0"
test: ">=0.12.0 <0.13.0"
environment:
sdk: ">=1.2.0 <2.0.0"
2 changes: 1 addition & 1 deletion test/error_test.dart
Expand Up @@ -5,7 +5,7 @@
library string_scanner.error_test;

import 'package:string_scanner/string_scanner.dart';
import 'package:unittest/unittest.dart';
import 'package:test/test.dart';

import 'utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion test/line_scanner_test.dart
Expand Up @@ -5,7 +5,7 @@
library string_scanner.line_scanner_test;

import 'package:string_scanner/string_scanner.dart';
import 'package:unittest/unittest.dart';
import 'package:test/test.dart';

void main() {
var scanner;
Expand Down
2 changes: 1 addition & 1 deletion test/span_scanner_test.dart
Expand Up @@ -5,7 +5,7 @@
library string_scanner.span_scanner_test;

import 'package:string_scanner/string_scanner.dart';
import 'package:unittest/unittest.dart';
import 'package:test/test.dart';

void main() {
var scanner;
Expand Down
2 changes: 1 addition & 1 deletion test/string_scanner_test.dart
Expand Up @@ -5,7 +5,7 @@
library string_scanner.string_scanner_test;

import 'package:string_scanner/string_scanner.dart';
import 'package:unittest/unittest.dart';
import 'package:test/test.dart';

void main() {
group('with an empty string', () {
Expand Down
2 changes: 1 addition & 1 deletion test/utils.dart
Expand Up @@ -5,7 +5,7 @@
library string_scanner.test.utils;

import 'package:string_scanner/string_scanner.dart';
import 'package:unittest/unittest.dart';
import 'package:test/test.dart';

/// Returns a matcher that asserts that a closure throws a [FormatException]
/// with the given [message].
Expand Down

0 comments on commit a7f8bf8

Please sign in to comment.