Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(945)

Unified Diff: pkg/args/test/usage_test.dart

Issue 631123002: Swap getUsage() for get usage in args package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Bump args version, add to args CHANGELOG Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/args/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/args/test/usage_test.dart
diff --git a/pkg/args/test/usage_test.dart b/pkg/args/test/usage_test.dart
index b6b860d4a2b0509968f569f6fff6b0a21721f1cb..2c44ec36d21bec78e5d1d9fd3395421286addd28 100644
--- a/pkg/args/test/usage_test.dart
+++ b/pkg/args/test/usage_test.dart
@@ -8,7 +8,7 @@ import 'package:unittest/unittest.dart';
import 'package:args/args.dart';
void main() {
- group('ArgParser.getUsage()', () {
+ group('ArgParser.usage', () {
test('negatable flags show "no-" in title', () {
var parser = new ArgParser();
parser.addFlag('mode', help: 'The mode');
@@ -225,7 +225,7 @@ void main() {
void validateUsage(ArgParser parser, String expected) {
expected = unindentString(expected);
- expect(parser.getUsage(), equals(expected));
+ expect(parser.usage, equals(expected));
}
// TODO(rnystrom): Replace one in test_utils.
« no previous file with comments | « pkg/args/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698