Disable test_import_short_absolute on Windows.

Fixes #27870

R=scheglov@google.com

Review URL: https://codereview.chromium.org/2522113002 .
This commit is contained in:
Paul Berry 2016-11-22 15:18:29 -08:00
parent 7ec65fb9ca
commit e9ebfd4b39

View file

@ -3439,6 +3439,12 @@ class D extends p.C {} // Prevent "unused import" warning
}
test_import_short_absolute() {
if (resourceProvider.pathContext.separator == '\\') {
// This test fails on Windows due to
// https://github.com/dart-lang/path/issues/18
// TODO(paulberry): reenable once that bug is addressed.
return;
}
testFile = '/my/project/bin/test.dart';
addLibrarySource('/a.dart', 'class C {}');
checkLibrary('import "/a.dart"; C c;');