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

Unified Diff: pkg/unittest/lib/unittest.dart

Issue 14910011: pkg/unittest: fixed docs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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/unittest/lib/unittest.dart
diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart
index 479e392fce879504bf2e98bce2662cc35895c6a7..7dd1e1a06d2441b69fa9e0bd50394c4248367c59 100644
--- a/pkg/unittest/lib/unittest.dart
+++ b/pkg/unittest/lib/unittest.dart
@@ -28,10 +28,10 @@
* * __Checks__: Test expectations can be specified via [expect]
* * __Matchers__: [expect] assertions are written declaratively using the
* [Matcher] class.
- * * __Configuration__: The framework can be adapted by calling [configure] with a
- * [Configuration]. See the other libraries in the `unittest` package for
- * alternative implementations of [Configuration] including
- * `compact_vm_config.dart`, `html_config.dart` and
+ * * __Configuration__: The framework can be adapted by setting
+ * [unittestConfiguration] with a [Configuration]. See the other libraries
gram 2013/05/13 16:30:03 Remove trailing whitespace.
+ * in the `unittest` package for alternative implementations of
+ * [Configuration] including `compact_vm_config.dart`, `html_config.dart` and
* `html_enhanced_config.dart`.
*
* ##Examples##
@@ -179,7 +179,7 @@ part 'src/test_case.dart';
Configuration _config;
/**
- * [Configuration] used by the unittest library. Note that if a
+ * [Configuration] used by the unittest library. Note that if a
* configuration has not been set, calling this getter will create
* a default configuration.
*/
@@ -865,7 +865,7 @@ typedef dynamic TestFunction();
// Stack formatting utility. Strips extraneous content from a stack trace.
// Stack frame lines are parsed with a regexp, which has been tested
-// in Chrome, Firefox and the VM. If a line fails to be parsed it is
+// in Chrome, Firefox and the VM. If a line fails to be parsed it is
// included in the output to be conservative.
//
// The output stack consists of everything after the call to TestCase._run.
@@ -894,8 +894,8 @@ String _formatStack(stack) {
} else {
return stack.toString();
}
-
- // Calculate the max width of first column so we can
+
+ // Calculate the max width of first column so we can
// pad to align the second columns.
int padding = lines.fold(0, (n, line) {
var match = _frameRegExp.firstMatch(line);
« 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