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

Unified Diff: tests/compiler/dart2js_extra/math_lib_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_test.dart
diff --git a/tests/compiler/dart2js_extra/math_lib_test.dart b/tests/compiler/dart2js_extra/math_lib_test.dart
index 8c3759ace6084a8cdc6b620f040ef484b43633ed..78876886ff3a17d4797c612cc277c65f8c170331 100644
--- a/tests/compiler/dart2js_extra/math_lib_test.dart
+++ b/tests/compiler/dart2js_extra/math_lib_test.dart
@@ -8,4 +8,8 @@
main() {
Expect.equals(2.0, sqrt(4));
Expect.equals(2.25, pow(1.5, 2.0));
+
+ int i = new Random().nextInt(256);
+ double d = new Random().nextDouble();
+ bool b = new Random().nextBool();
}

Powered by Google App Engine
This is Rietveld 408576698