dart-sdk/tests/language/prefix/prefix21_test.dart
Robert Nystrom 578fa6bee9 Migrate language_2/prefix to NNBD.
Change-Id: I5149b18d796c6991404c22322e5fb4b4c8372613
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150287
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Srujan Gaddam <srujzs@google.com>
2020-06-06 01:44:40 +00:00

15 lines
444 B
Dart

// Copyright (c) 2011, 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 Prefix21;
import "package:expect/expect.dart";
import "prefix21_good_lib.dart" as good;
import "prefix21_bad_lib.dart" as bad;
main() {
Expect.equals(good.getValue(42), 42);
Expect.equals(bad.getValue(42), 84);
}