mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:07:11 +00:00
[gardening] Fix instruction_sizes_test on Windows
Bug: https://github.com/dart-lang/sdk/issues/45354 Change-Id: Idbf22076bf01e9dcbe20a6d99993b3283edc067f TEST=ci Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/267244 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
6539e200b8
commit
4ae1500152
1 changed files with 2 additions and 8 deletions
|
@ -844,14 +844,8 @@ void main() async {
|
|||
|
||||
// Verify that we don't include package names twice into paths
|
||||
// while building the treemap.
|
||||
if (Platform.isWindows) {
|
||||
// Note: in Windows we don't consider main.dart part of package:input
|
||||
// for some reason.
|
||||
expect(findChild(treemap, 'package:input/input.dart'), isNotNull);
|
||||
} else {
|
||||
expect(childrenNames(findChild(treemap, 'package:input')!),
|
||||
equals({'main.dart', 'input.dart'}));
|
||||
}
|
||||
expect(childrenNames(findChild(treemap, 'package:input')!),
|
||||
equals({'main.dart', 'input.dart'}));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue