dart-sdk/tests/language/part/of_uri2_test.dart
Robert Nystrom af4a9c8d42 Migrate language_2/part to NNBD.
Change-Id: I14b4fbd322cb7299033ec9db72fe4e3dfbcd254b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150286
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2020-06-08 23:16:55 +00:00

16 lines
483 B
Dart

// Copyright (c) 2017, 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.
library part_of_uri2;
part "of_uri2_part.dart"; // declares bar1, baz1, uses URI.
part "of_uri2_part2.dart"; // declares bar2, baz2, uses id.
const foo = 'foo';
const qux = "$baz1$baz2";
main() {
if (!identical(qux, "foopart21foopart12")) throw "Fail: $qux";
}