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

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

Issue 145403005: pkg/unittest: formatter spin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review nits Created 6 years, 11 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 | « pkg/unittest/lib/src/utils.dart ('k') | pkg/unittest/test/mirror_matchers_test.dart » ('j') | 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 41bfc92386678f3f57c41754a520c4bd13150805..eae5a13b65fdfc2c70f06d687d481a3eb6b1d9db 100644
--- a/pkg/unittest/lib/unittest.dart
+++ b/pkg/unittest/lib/unittest.dart
@@ -169,8 +169,8 @@ Configuration get unittestConfiguration {
* Throws a [StateError] if there is an existing, incompatible value.
*/
void set unittestConfiguration(Configuration value) {
- if(!identical(_config, value)) {
- if(_config != null) {
+ if (!identical(_config, value)) {
+ if (_config != null) {
throw new StateError('unittestConfiguration has already been set');
}
_config = value;
@@ -301,9 +301,9 @@ var _lastBreath = new DateTime.now().millisecondsSinceEpoch;
// imply that the test fails). We can't do it without also changing
// the testrunner and test.dart though.
/// Result string for a passing test case.
-const PASS = 'pass';
+const PASS = 'pass';
/// Result string for a failing test case.
-const FAIL = 'fail';
+const FAIL = 'fail';
/// Result string for an test case with an error.
const ERROR = 'error';
« no previous file with comments | « pkg/unittest/lib/src/utils.dart ('k') | pkg/unittest/test/mirror_matchers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698