Index: pkg/args/test/parse_test.dart |
diff --git a/pkg/args/test/parse_test.dart b/pkg/args/test/parse_test.dart |
index 715c2269218537157fff9a758ef37005905de3cc..bc5fc424cdc906c2881b04daaf27069d6585f460 100644 |
--- a/pkg/args/test/parse_test.dart |
+++ b/pkg/args/test/parse_test.dart |
@@ -6,8 +6,9 @@ library parse_test; |
import 'package:unittest/unittest.dart'; |
import 'package:args/args.dart'; |
+import 'shared.dart'; |
-main() { |
+void main() { |
group('ArgParser.parse()', () { |
test('does not destructively modify the argument list', () { |
var parser = new ArgParser(); |
@@ -421,11 +422,3 @@ main() { |
}); |
}); |
} |
- |
-throwsIllegalArg(function) { |
- expect(function, throwsArgumentError); |
-} |
- |
-throwsFormat(ArgParser parser, List<String> args) { |
- expect(() => parser.parse(args), throwsFormatException); |
-} |