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

Unified Diff: packages/matcher/lib/src/string_matchers.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 | « packages/matcher/lib/src/pretty_print.dart ('k') | packages/matcher/lib/src/util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/matcher/lib/src/string_matchers.dart
diff --git a/packages/matcher/lib/src/string_matchers.dart b/packages/matcher/lib/src/string_matchers.dart
index 46434342d003804b5fd5cb0c9436e4f6c1705171..d8bbdb83ec5961c3ad0462428b3acaa3a3fc6ab8 100644
--- a/packages/matcher/lib/src/string_matchers.dart
+++ b/packages/matcher/lib/src/string_matchers.dart
@@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library matcher.string_matchers;
-
import 'interfaces.dart';
/// Returns a matcher which matches if the match argument is a string and
@@ -67,8 +65,8 @@ class _IsEqualIgnoringWhitespace extends _StringMatcher {
.addDescriptionOf(collapseWhitespace(item))
.add(' with whitespace compressed');
} else {
- return super.describeMismatch(
- item, mismatchDescription, matchState, verbose);
+ return super
+ .describeMismatch(item, mismatchDescription, matchState, verbose);
}
}
}
@@ -171,8 +169,8 @@ abstract class _StringMatcher extends Matcher {
if (!(item is String)) {
return mismatchDescription.addDescriptionOf(item).add(' not a string');
} else {
- return super.describeMismatch(
- item, mismatchDescription, matchState, verbose);
+ return super
+ .describeMismatch(item, mismatchDescription, matchState, verbose);
}
}
}
« no previous file with comments | « packages/matcher/lib/src/pretty_print.dart ('k') | packages/matcher/lib/src/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698