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

Unified Diff: frog/tests/leg/src/BuiltinInterceptorTest.dart

Issue 9592009: Reapply "Refactor constant part." (r4958) with fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update tests and fix code after renaming. Created 8 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: frog/tests/leg/src/BuiltinInterceptorTest.dart
diff --git a/frog/tests/leg/src/BuiltinInterceptorTest.dart b/frog/tests/leg/src/BuiltinInterceptorTest.dart
index 0c69ead0f6441655778362b0b99d617eda4841d7..45321ff94e391364f610ad90ac70aea75a79e36a 100644
--- a/frog/tests/leg/src/BuiltinInterceptorTest.dart
+++ b/frog/tests/leg/src/BuiltinInterceptorTest.dart
@@ -27,8 +27,8 @@ main() {
Expect.isTrue(generated.contains("return a.length;"));
generated = compile(TEST_TWO, 'foo');
- Expect.isTrue(generated.contains("return 3;"));
+ Expect.isTrue(generated.contains("return (3);"));
generated = compile(TEST_THREE, 'foo');
- Expect.isTrue(generated.contains("return 3;"));
+ Expect.isTrue(generated.contains("return (3);"));
}

Powered by Google App Engine
This is Rietveld 408576698