Files
sdk/tests/web/deferred/trusted_script_url/lib.dart
T
Stephen Adams bc1d9b0a2f [dart2js] Test for trusted script URLs
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>
2022-03-18 01:09:47 +00:00

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);
}