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

Side by Side Diff: lib/src/frontend/prints_matcher.dart

Issue 1375413002: Get rid of some unused "hide" declarations. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: rebase Created 5 years, 2 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/frontend/future_matchers.dart ('k') | lib/src/frontend/throws_matcher.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 test.frontend.prints_matcher; 5 library test.frontend.prints_matcher;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:matcher/matcher.dart' hide completes, expect; 9 import 'package:matcher/matcher.dart';
10 10
11 import 'expect.dart'; 11 import 'expect.dart';
12 import 'future_matchers.dart'; 12 import 'future_matchers.dart';
13 13
14 /// Matches a [Function] that prints text that matches [matcher]. 14 /// Matches a [Function] that prints text that matches [matcher].
15 /// 15 ///
16 /// [matcher] may be a String or a [Matcher]. 16 /// [matcher] may be a String or a [Matcher].
17 /// 17 ///
18 /// If the function this runs against returns a [Future], all text printed by 18 /// If the function this runs against returns a [Future], all text printed by
19 /// the function (using [Zone] scoping) until that Future completes is matched. 19 /// the function (using [Zone] scoping) until that Future completes is matched.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 .describeMismatch(actual, new StringDescription(), matchState, verbose) 72 .describeMismatch(actual, new StringDescription(), matchState, verbose)
73 .toString(); 73 .toString();
74 74
75 if (innerMismatch.isNotEmpty) { 75 if (innerMismatch.isNotEmpty) {
76 description.add('\n Which: ').add(innerMismatch.toString()); 76 description.add('\n Which: ').add(innerMismatch.toString());
77 } 77 }
78 78
79 return description; 79 return description;
80 } 80 }
81 } 81 }
OLDNEW
« no previous file with comments | « lib/src/frontend/future_matchers.dart ('k') | lib/src/frontend/throws_matcher.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698