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

Unified Diff: runtime/observatory/test/command_test.dart

Issue 1043513002: Enable strict flags for all service tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
Index: runtime/observatory/test/command_test.dart
diff --git a/runtime/observatory/test/command_test.dart b/runtime/observatory/test/command_test.dart
index 260684e4dd33c63fa1e5f9b1159904619115e193..a52f1a13b04d1d8b2de766c5b00f74ad69b7e640 100644
--- a/runtime/observatory/test/command_test.dart
+++ b/runtime/observatory/test/command_test.dart
@@ -1,6 +1,7 @@
// Copyright (c) 2015, 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.
+// VMOptions=--compile-all --error_on_bad_type --error_on_bad_override --checked
import 'dart:async';
@@ -63,7 +64,7 @@ void testCommandComplete() {
cmd.completeCommand('alpha').then((result) {
expect(result, equals(['alpha ']));
});
-
+
// Extra space, no subcommands.
cmd.completeCommand('alpha ').then((result) {
expect(result, equals(['alpha ']));
@@ -168,7 +169,7 @@ void testCommandRunSubcommand() {
new TestCommand(out, 'alpha', [
new TestCommand(out, 'beta', []),
new TestCommand(out, 'gamma', [])])]);
-
+
cmd.runCommand('a b').then(expectAsync((_) {
expect(out.toString(), equals('executing beta([])\n'));
out.clear();

Powered by Google App Engine
This is Rietveld 408576698