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

Side by Side Diff: packages/which/test/candidate_paths_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/pubspec.yaml ('k') | packages/which/test/has_permission_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
(Empty)
1
2 library which.test.candidate_paths;
3
4 import 'package:unittest/unittest.dart';
5
6 import 'util.dart';
7
8 main() {
9 group('getCandidatePaths', () {
10 test('posix', () {
11 var candidatePaths = getPosixCandidatePaths('z', '/x/y:/a/b/c', '/foo/bar' );
12 expect(candidatePaths, ['/x/y/z', '/a/b/c/z']);
13 });
14
15 test('windows', () {
16 var candidatePaths = getWindowsCandidatePaths('z', r'C:\x\y;C:\a\b\c', '.E XE;.BAT', r'C:\foo\bar');
17 expect(candidatePaths, [
18 r'C:\foo\bar\z.EXE',
19 r'C:\foo\bar\z.BAT',
20 r'C:\x\y\z.EXE',
21 r'C:\x\y\z.BAT',
22 r'C:\a\b\c\z.EXE',
23 r'C:\a\b\c\z.BAT']);
24 });
25 });
26 }
OLDNEW
« no previous file with comments | « packages/which/pubspec.yaml ('k') | packages/which/test/has_permission_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698