330ec173a9
Change-Id: I65ebfcb48bf46292d5ae611ecb7431e0666f753c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139286 Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Erik Ernst <eernst@google.com>
10 lines
326 B
Dart
10 lines
326 B
Dart
// Copyright (c) 2020, 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";
|
|
|
|
main() {
|
|
Expect.throws(() => new bool.hasEnvironment("Anything"));
|
|
}
|