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
18d69b1b
Commit
18d69b1b
authored
Apr 05, 2017
by
Michael Goderbauer
Committed by
GitHub
Apr 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete Color supported test :( (#9235)
parent
882c992b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
logger_test.dart
packages/flutter_tools/test/src/base/logger_test.dart
+0
-21
No files found.
packages/flutter_tools/test/src/base/logger_test.dart
deleted
100644 → 0
View file @
882c992b
// Copyright 2017 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/base/logger.dart'
;
import
'package:flutter_tools/src/base/os.dart'
;
import
'package:flutter_tools/src/base/version.dart'
;
import
'package:test/test.dart'
;
void
main
(
)
{
group
(
'AnsiLogger'
,
()
{
test
(
'should support color on Windows version >= 10.0.10586'
,
()
{
final
String
name
=
new
OperatingSystemUtils
().
name
;
final
String
versionString
=
new
RegExp
(
r'\d+\.\d+\.\d+'
).
firstMatch
(
name
).
group
(
0
);
final
Version
version
=
new
Version
.
parse
(
versionString
);
final
bool
shouldSupportColor
=
version
>=
new
Version
.
parse
(
'10.0.10586'
);
expect
(
new
AnsiTerminal
().
supportsColor
,
shouldSupportColor
);
},
testOn:
'windows'
);
});
}
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