Mark update-packages as non-experimental (#35467)

Marking it as experimental was breaking tests and packaging
scripts on stable branches.
This commit is contained in:
Todd Volkert
2019-07-02 18:24:25 -07:00
committed by GitHub
parent 556e374e02
commit 4cd12fc8b7
2 changed files with 18 additions and 3 deletions

View File

@@ -77,9 +77,6 @@ class UpdatePackagesCommand extends FlutterCommand {
);
}
@override
bool get isExperimental => true;
@override
final String name = 'update-packages';

View File

@@ -0,0 +1,18 @@
// Copyright 2015 The Chromium Authors. 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:flutter_tools/src/commands/update_packages.dart';
import '../src/common.dart';
import '../src/context.dart';
void main() {
group('UpdatePackagesCommand', () {
// Marking it as experimental breaks bots tests and packaging scripts on stable branches.
testUsingContext('is not marked as experimental', () async {
final UpdatePackagesCommand command = UpdatePackagesCommand();
expect(command.isExperimental, isFalse);
});
});
}