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

Side by Side Diff: lib/src/operator_matchers.dart

Issue 1584563003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/matcher@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « lib/src/numeric_matchers.dart ('k') | lib/src/pretty_print.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library matcher.operator_matchers;
6
7 import 'interfaces.dart'; 5 import 'interfaces.dart';
8 import 'util.dart'; 6 import 'util.dart';
9 7
10 /// This returns a matcher that inverts [matcher] to its logical negation. 8 /// This returns a matcher that inverts [matcher] to its logical negation.
11 Matcher isNot(matcher) => new _IsNot(wrapMatcher(matcher)); 9 Matcher isNot(matcher) => new _IsNot(wrapMatcher(matcher));
12 10
13 class _IsNot extends Matcher { 11 class _IsNot extends Matcher {
14 final Matcher _matcher; 12 final Matcher _matcher;
15 13
16 const _IsNot(this._matcher); 14 const _IsNot(this._matcher);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 102 }
105 103
106 matchers = arg0; 104 matchers = arg0;
107 } else { 105 } else {
108 matchers = 106 matchers =
109 [arg0, arg1, arg2, arg3, arg4, arg5, arg6].where((e) => e != null); 107 [arg0, arg1, arg2, arg3, arg4, arg5, arg6].where((e) => e != null);
110 } 108 }
111 109
112 return matchers.map((e) => wrapMatcher(e)).toList(); 110 return matchers.map((e) => wrapMatcher(e)).toList();
113 } 111 }
OLDNEW
« no previous file with comments | « lib/src/numeric_matchers.dart ('k') | lib/src/pretty_print.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698