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

Unified Diff: pkg/scheduled_test/lib/descriptor.dart

Issue 172493003: pkg/scheduled_test: fix example in docs to be 100% valid (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: pkg/scheduled_test/lib/descriptor.dart
diff --git a/pkg/scheduled_test/lib/descriptor.dart b/pkg/scheduled_test/lib/descriptor.dart
index 0004236695c080ee7b4d6650ff8678168ea3e03c..bdb846a58eca587f86d312bcf6446189e89f8eeb 100644
--- a/pkg/scheduled_test/lib/descriptor.dart
+++ b/pkg/scheduled_test/lib/descriptor.dart
@@ -10,6 +10,7 @@
/// on the physical filesystem, or [Descriptor.validate] to schedule an
/// assertion that that structure exists. For example:
///
+/// import 'dart:io';
Bob Nystrom 2014/02/19 18:17:28 Nit, but can you add a blank line after this impor
kevmoo 2014/02/19 21:53:12 Done.
/// import 'package:scheduled_test/descriptor.dart' as d;
/// import 'package:scheduled_test/scheduled_test.dart';
///
@@ -31,7 +32,7 @@
/// d.file('child', 'child-contents')
/// ])
/// ]).validate();
-/// })
+/// });
/// }
///
/// Usually you don't want your tests cluttering up your working directory with
« 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