bc1d9b0a2f
Change-Id: Ib4726fc522756f9a7cc860aaa09c6b0037a85c70 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237638 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Stephen Adams <sra@google.com>
14 lines
357 B
Dart
14 lines
357 B
Dart
// Copyright (c) 2022, 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.
|
|
|
|
import 'package:expect/expect.dart';
|
|
|
|
class _Thing {}
|
|
|
|
Object create() => _Thing();
|
|
|
|
void check(Object o) {
|
|
Expect.isTrue(o is _Thing);
|
|
}
|