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

Unified Diff: tests/standalone/src/StatusExpressionTest.dart

Issue 8539009: Fix type mismatch errors. Environments do not only contain strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « no previous file | tools/testing/dart/status_expression.dart » ('j') | tools/testing/dart/status_expression.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/StatusExpressionTest.dart
diff --git a/tests/standalone/src/StatusExpressionTest.dart b/tests/standalone/src/StatusExpressionTest.dart
index d33f989fd6a7f05d8ec0e984ac9b87b47e0022c2..bc733db25351023fd30637e20e0c7aa48722f7d7 100644
--- a/tests/standalone/src/StatusExpressionTest.dart
+++ b/tests/standalone/src/StatusExpressionTest.dart
@@ -31,7 +31,7 @@ class StatusExpressionTest {
@"(($mode == debug) && (($arch == chromium) || ($arch == dartc)))",
ast.toString());
// Test BooleanExpression.evaluate().
- Map<String, String> environment = new Map<String, String>();
+ Map environment = new Map();
environment["arch"] = "dartc";
environment["mode"] = "debug";
Expect.isTrue(ast.evaluate(environment));
@@ -94,7 +94,7 @@ class StatusExpressionTest {
ast.toString());
// Test SetExpression.evaluate().
- Map<String, String> environment = new Map<String, String>();
+ Map environment = new Map();
environment["arch"] = "ia32";
environment["checked"] = true;
environment["mode"] = "debug";
@@ -126,7 +126,7 @@ class StatusExpressionTest {
ast.toString());
// Test BooleanExpression.evaluate().
- Map<String, String> environment = new Map<String, String>();
+ Map environment = new Map();
environment["arch"] = "ia32";
environment["checked"] = true;
environment["mode"] = "debug";
« no previous file with comments | « no previous file | tools/testing/dart/status_expression.dart » ('j') | tools/testing/dart/status_expression.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698