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: test/prints_matcher_test.dart

Issue 910943002: unittest: fix library name for prints matcher (Closed) Base URL: https://github.com/dart-lang/unittest.git@master
Patch Set: Created 5 years, 10 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/prints_matcher.dart ('k') | no next file » | 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 matcher.prints_matchers_test; 5 library unittest.prints_matchers_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:metatest/metatest.dart'; 9 import 'package:metatest/metatest.dart';
10 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
11 11
12 /// The VM and dart2js have different toStrings for closures. 12 /// The VM and dart2js have different toStrings for closures.
13 final closureToString = (() {}).toString(); 13 final closureToString = (() {}).toString();
14 14
15 void main() => initTests(_test); 15 void main() => initTests(_test);
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ''') 135 ''')
136 }, 136 },
137 { 137 {
138 'result': 'fail', 138 'result': 'fail',
139 'message': startsWith(r'''Expected future to complete successfully, but it failed with Expected: contains 'Goodbye' 139 'message': startsWith(r'''Expected future to complete successfully, but it failed with Expected: contains 'Goodbye'
140 Actual: '' 140 Actual: ''
141 ''') 141 ''')
142 } 142 }
143 ]); 143 ]);
144 } 144 }
OLDNEW
« no previous file with comments | « lib/src/prints_matcher.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698