| Index: test/codegen/expect/unittest/unittest.js
|
| diff --git a/test/codegen/expect/unittest/unittest.js b/test/codegen/expect/unittest/unittest.js
|
| index 3e7a0f3a5af110a854b2e8813a5460b6887a3fce..770c05d241c91a7b75aff9b6b20dce3d51159b80 100644
|
| --- a/test/codegen/expect/unittest/unittest.js
|
| +++ b/test/codegen/expect/unittest/unittest.js
|
| @@ -54,8 +54,7 @@ dart_library.library('unittest/unittest', null, /* Imports */[
|
| matcher = util.wrapMatcher(matcher);
|
| let matchState = dart.map();
|
| try {
|
| - if (dart.notNull(dart.as(dart.dsend(matcher, 'matches', actual, matchState), core.bool)))
|
| - return;
|
| + if (dart.notNull(dart.as(dart.dsend(matcher, 'matches', actual, matchState), core.bool))) return;
|
| } catch (e) {
|
| let trace = dart.stackTrace(e);
|
| if (reason == null) {
|
| @@ -63,8 +62,7 @@ dart_library.library('unittest/unittest', null, /* Imports */[
|
| }
|
| }
|
|
|
| - if (formatter == null)
|
| - formatter = _defaultFailFormatter;
|
| + if (formatter == null) formatter = _defaultFailFormatter;
|
| fail(dart.dcall(formatter, actual, matcher, reason, matchState, verbose));
|
| }
|
| dart.fn(expect, dart.void, [dart.dynamic, dart.dynamic], {reason: core.String, verbose: core.bool, formatter: ErrorFormatter});
|
| @@ -81,8 +79,7 @@ dart_library.library('unittest/unittest', null, /* Imports */[
|
| if (dart.notNull(mismatchDescription.length) > 0) {
|
| description.add(` Which: ${mismatchDescription}\n`);
|
| }
|
| - if (reason != null)
|
| - description.add(reason).add('\n');
|
| + if (reason != null) description.add(reason).add('\n');
|
| return dart.toString(description);
|
| }
|
| dart.fn(_defaultFailFormatter, core.String, [dart.dynamic, interfaces.Matcher, core.String, core.Map, core.bool]);
|
|
|