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

Unified Diff: tests/lib/math/coin_test.dart

Issue 11358203: Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « tests/lib/lib.status ('k') | tests/lib/math/low_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/math/coin_test.dart
===================================================================
--- tests/lib/math/coin_test.dart (revision 14804)
+++ tests/lib/math/coin_test.dart (working copy)
@@ -5,9 +5,9 @@
// Test that a coin toss with Random.nextBool() is fair.
// Library tag to allow Dartium to run the test.
-#library("coin_test");
+library coin_test;
-#import("dart:math");
+import 'dart:math';
main() {
var seed = new Random().nextInt((1<<32) - 1);
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/math/low_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698