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

Unified Diff: lib/src/simple_configuration.dart

Issue 846143003: Reformatted code (Closed) Base URL: https://github.com/dart-lang/unittest.git@master
Patch Set: Created 5 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 | « lib/src/configuration.dart ('k') | lib/src/spread_args_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/simple_configuration.dart
diff --git a/lib/src/simple_configuration.dart b/lib/src/simple_configuration.dart
index aa249778fa4a8ca9e5c455669d3861e625bbc599..6254bf5951dd3661be9848d2a0e56910ec214b06 100644
--- a/lib/src/simple_configuration.dart
+++ b/lib/src/simple_configuration.dart
@@ -46,7 +46,7 @@ class SimpleConfiguration extends Configuration {
/// The constructor sets up a failure handler for [expect] that redirects
/// [expect] failures to [onExpectFailure].
- SimpleConfiguration(): super.blank() {
+ SimpleConfiguration() : super.blank() {
configureExpectFailureHandler(new _ExpectFailureHandler(this));
}
@@ -75,8 +75,8 @@ class SimpleConfiguration extends Configuration {
if (!stopTestOnExpectFailure && _testLogBuffer.length > 0) {
// Write the message/stack pairs up to the last pairs.
var reason = new StringBuffer();
- for (var reasonAndTrace in
- _testLogBuffer.take(_testLogBuffer.length - 1)) {
+ for (var reasonAndTrace
+ in _testLogBuffer.take(_testLogBuffer.length - 1)) {
reason.write(reasonAndTrace.first);
reason.write('\n');
reason.write(reasonAndTrace.last);
« no previous file with comments | « lib/src/configuration.dart ('k') | lib/src/spread_args_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698