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

Side by Side Diff: packages/which/test/which_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 4 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/which/test/which_impl_test.dart ('k') | packages/yaml/.analysis_options » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 library which.test.which;
3
4 import 'package:path/path.dart';
5 import 'package:unittest/unittest.dart';
6 import 'package:which/which.dart';
7
8 main() {
9 group('which', () {
10 // Any dart:io supported platform (*nix, osx, windows) should have `find`.
11 test('should find `find`', () => which('find').then(_testResult));
12 });
13
14 group('whichSync', () {
15 // Any dart:io supported platform (*nix, osx, windows) should have `find`.
16 test('should find `find`', () {
17 _testResult(whichSync('find'));
18 });
19 });
20 }
21
22 _testResult(String path) {
23 expect(path, isNotNull);
24 var base = basenameWithoutExtension(path);
25 expect(base, 'find');
26 }
OLDNEW
« no previous file with comments | « packages/which/test/which_impl_test.dart ('k') | packages/yaml/.analysis_options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698