Simplify path handling logic in dependency checker and devFS (#8414)
* Simplify path handling logic in dependency checker and devFS Simplification will make it easier to port this to Windows. * Roll Engine to 0a7b177c330367904597a6129b3eb653d29dfca0
This commit is contained in:
committed by
GitHub
parent
adf3b90df2
commit
e7bde11cc3
@@ -21,8 +21,8 @@ void main() {
|
||||
DartDependencySetBuilder builder =
|
||||
new DartDependencySetBuilder(mainPath, testPath, packagesPath);
|
||||
Set<String> dependencies = builder.build();
|
||||
expect(dependencies.contains('main.dart'), isTrue);
|
||||
expect(dependencies.contains('foo.dart'), isTrue);
|
||||
expect(dependencies.contains(mainPath), isTrue);
|
||||
expect(dependencies.contains(fs.path.join(testPath, 'foo.dart')), isTrue);
|
||||
});
|
||||
testUsingContext('syntax_error', () {
|
||||
final String testPath = fs.path.join(dataPath, 'syntax_error');
|
||||
|
||||
Reference in New Issue
Block a user