fc1999de15
Related to https://github.com/dart-lang/sdk/issues/42339. Change-Id: I3fdeee33dcad0ca031f483e2e3692be300392958 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152960 Reviewed-by: Jaime Wren <jwren@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
19 lines
573 B
Dart
19 lines
573 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:dartdev/src/experiments.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
void main() {
|
|
group('experiments', () {
|
|
test('experimentalFeatures', () {
|
|
expect(experimentalFeatures, isNotEmpty);
|
|
expect(
|
|
experimentalFeatures.map((experiment) => experiment.enableString),
|
|
contains('non-nullable'),
|
|
);
|
|
});
|
|
});
|
|
}
|