Files
sdk/tests/standalone/package/package_test.dart
Alexander Aprelev f22d82f70e [gardening] Fix standalone/package/* tests.
BUG=https://github.com/dart-lang/sdk/issues/46528
TEST=standalone/package

Change-Id: Id8d99afef86df3f676bf54d62b047c2d9b4747fb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/319905
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2023-08-11 18:15:11 +00:00

22 lines
576 B
Dart

// Copyright (c) 2012, 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 file.
// Packages=none
library package_test;
import "package:expect/expect.dart";
import 'package:lib1/lib1.dart';
import 'package:shared/shared.dart';
void main() {
output = 'main';
// Call an imported lib, which will in turn call some others.
lib1();
// Make sure they were all reached successfully.
Expect.equals('main|lib1|lib2|lib3', output);
}