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

Unified Diff: tests/compiler/dart2js_extra/math_lib_prefix_test.dart

Issue 10696147: Patch methods in classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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: tests/compiler/dart2js_extra/math_lib_prefix_test.dart
diff --git a/tests/compiler/dart2js_extra/math_lib_prefix_test.dart b/tests/compiler/dart2js_extra/math_lib_prefix_test.dart
index 742aff4113b7bdb3586424387dfbb665853decf1..2e18f5e7c4be7e8e4914874b87673e0572e511d4 100644
--- a/tests/compiler/dart2js_extra/math_lib_prefix_test.dart
+++ b/tests/compiler/dart2js_extra/math_lib_prefix_test.dart
@@ -8,4 +8,8 @@
main() {
Expect.equals(2.0, foo.sqrt(4));
Expect.equals(2.25, foo.pow(1.5, 2.0));
+
+ int i = new foo.Random().nextInt(256);
+ double d = new foo.Random().nextDouble();
+ bool b = new foo.Random().nextBool();
}

Powered by Google App Engine
This is Rietveld 408576698