Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e4bd552e
Unverified
Commit
e4bd552e
authored
Apr 28, 2022
by
Tim Sneath
Committed by
GitHub
Apr 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update features.dart (#102766)
parent
b264b614
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
features.dart
packages/flutter_tools/lib/src/features.dart
+0
-2
features_test.dart
packages/flutter_tools/test/general.shard/features_test.dart
+2
-4
No files found.
packages/flutter_tools/lib/src/features.dart
View file @
e4bd552e
...
...
@@ -90,7 +90,6 @@ const Feature flutterMacOSDesktopFeature = Feature(
name:
'support for desktop on macOS'
,
configSetting:
'enable-macos-desktop'
,
environmentOverride:
'FLUTTER_MACOS'
,
extraHelpText:
'Newer beta versions are available on the beta channel.'
,
master:
FeatureChannelSetting
(
available:
true
,
),
...
...
@@ -107,7 +106,6 @@ const Feature flutterLinuxDesktopFeature = Feature(
name:
'support for desktop on Linux'
,
configSetting:
'enable-linux-desktop'
,
environmentOverride:
'FLUTTER_LINUX'
,
extraHelpText:
'Newer beta versions are available on the beta channel.'
,
master:
FeatureChannelSetting
(
available:
true
,
),
...
...
packages/flutter_tools/test/general.shard/features_test.dart
View file @
e4bd552e
...
...
@@ -90,15 +90,13 @@ void main() {
testWithoutContext
(
'Flutter macOS desktop help string'
,
()
{
expect
(
flutterMacOSDesktopFeature
.
generateHelpMessage
(),
'Enable or disable support for desktop on macOS. '
'This setting will take effect on the master, beta, and stable channels. '
'Newer beta versions are available on the beta channel.'
);
'This setting will take effect on the master, beta, and stable channels.'
);
});
testWithoutContext
(
'Flutter Linux desktop help string'
,
()
{
expect
(
flutterLinuxDesktopFeature
.
generateHelpMessage
(),
'Enable or disable support for desktop on Linux. '
'This setting will take effect on the master, beta, and stable channels. '
'Newer beta versions are available on the beta channel.'
);
'This setting will take effect on the master, beta, and stable channels.'
);
});
testWithoutContext
(
'Flutter Windows desktop help string'
,
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment