Fix fasta test under windows

Change-Id: If9db5a0a9d67aa2ae369aabef44a70da06d41ac2
Reviewed-on: https://dart-review.googlesource.com/c/89764
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Sam Rawlins
2019-01-16 04:23:33 +00:00
committed by commit-bot@chromium.org
parent 4ec9dbf1d0
commit 492df72739
@@ -22,9 +22,9 @@ main() {
expect(resolveInputUri('c:/foo').scheme, 'file');
if (Platform.isWindows) {
/// : is an invalid path character in windows.
expect(() => resolveInputUri('test:foo').scheme, throwsFormatException);
expect(() => resolveInputUri('test:foo').scheme, throwsArgumentError);
expect(() => resolveInputUri('org-dartlang-foo:bar').scheme,
throwsFormatException);
throwsArgumentError);
} else {
expect(resolveInputUri('test:foo').scheme, 'file');
expect(resolveInputUri('org-dartlang-foo:bar').scheme, 'file');