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

Unified Diff: tests/compiler/dart2js/type_inference_test.dart

Issue 10560004: Fix type inference test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_inference_test.dart
diff --git a/tests/compiler/dart2js/type_inference_test.dart b/tests/compiler/dart2js/type_inference_test.dart
index 44d9b2e7d3bb5103950ef60d54a7e75e5707dbaa..4c8e1a63fad9660332ee0b0be2e0169547ea5515 100644
--- a/tests/compiler/dart2js/type_inference_test.dart
+++ b/tests/compiler/dart2js/type_inference_test.dart
@@ -67,7 +67,7 @@ foo(a) {
main() {
String generated = compile(TEST_ONE, 'sum');
- Expect.isTrue(generated.contains('sum = sum + i'));
+ Expect.isTrue(generated.contains('sum += i'));
Expect.isTrue(generated.contains("typeof param1 !== 'number'"));
generated = compile(TEST_TWO, 'foo');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698