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

Unified Diff: test/parse_test.dart

Issue 1748333005: Make it strong mode clean. (Closed) Base URL: https://github.com/dart-lang/args.git@master
Patch Set: Created 4 years, 10 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
« lib/src/parser.dart ('K') | « pubspec.yaml ('k') | test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/parse_test.dart
diff --git a/test/parse_test.dart b/test/parse_test.dart
index 187f735e08706aa38226ae927360b60b4827885d..cdc6d5e6520bbcddca90859d22acca166dd19309 100644
--- a/test/parse_test.dart
+++ b/test/parse_test.dart
@@ -117,7 +117,7 @@ void main() {
});
test('are invoked even if the flag is not present', () {
- var a = 'not called';
+ var a = true;
var parser = new ArgParser();
parser.addFlag('a', callback: (value) => a = value);
« lib/src/parser.dart ('K') | « pubspec.yaml ('k') | test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698