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

Side by Side Diff: packages/matcher/test/core_matchers_test.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 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 | « packages/matcher/pubspec.yaml ('k') | packages/matcher/test/string_matchers_test.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 import 'package:matcher/matcher.dart'; 5 import 'package:matcher/matcher.dart';
6 import 'package:test/test.dart' show test, group; 6 import 'package:test/test.dart' show test, group;
7 7
8 import 'test_utils.dart'; 8 import 'test_utils.dart';
9 9
10 class BadCustomMatcher extends CustomMatcher { 10 class BadCustomMatcher extends CustomMatcher {
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 }); 243 });
244 244
245 test("Custom Matcher Exception", () { 245 test("Custom Matcher Exception", () {
246 shouldFail( 246 shouldFail(
247 "a", 247 "a",
248 new BadCustomMatcher(), 248 new BadCustomMatcher(),
249 allOf([ 249 allOf([
250 contains("Expected: feature {1: 'a'} "), 250 contains("Expected: feature {1: 'a'} "),
251 contains("Actual: 'a' "), 251 contains("Actual: 'a' "),
252 contains("Which: threw 'Exception: bang' "), 252 contains("Which: threw 'Exception: bang' "),
253 contains("test/core_matchers_test.dart "),
254 contains("package:test ")
255 ])); 253 ]));
256 }); 254 });
257 } 255 }
OLDNEW
« no previous file with comments | « packages/matcher/pubspec.yaml ('k') | packages/matcher/test/string_matchers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698