blob: 2ac3ec6f2851d5c5eb5a9720665da4cef16f8ebb [file] [log] [blame]
# Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE.md file.
type: newworld
worlds:
- entry: main.dart
warnings: false
checkEntries: false
sources:
.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "foo",
"rootUri": ".."
}
]
}
main.dart: |
// @dart=2.9
part of 'lib.dart';
partMethod() {}
lib.dart: |
// @dart=2.9
part 'main.dart';
main() {}
expectedLibraryCount: 1
- entry: main.dart
warnings: false
checkEntries: false
worldType: updated
expectInitializeFromDill: false
invalidate:
- main.dart
expectedLibraryCount: 1
- entry: main.dart
warnings: false
checkEntries: false
worldType: updated
expectInitializeFromDill: false
invalidate:
- lib.dart
expectedLibraryCount: 1