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
4311ddb4
Commit
4311ddb4
authored
May 05, 2016
by
pq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duplicate test fix.
parent
3b882fc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
analyze_duplicate_names_test.dart
...ages/flutter_tools/test/analyze_duplicate_names_test.dart
+2
-3
No files found.
packages/flutter_tools/test/analyze_duplicate_names_test.dart
View file @
4311ddb4
...
...
@@ -38,9 +38,8 @@ void main() {
return
createTestCommandRunner
(
command
).
run
(
<
String
>[
'analyze'
,
'--no-current-package'
,
'--no-current-directory'
,
dartFileA
.
path
,
dartFileB
.
path
]
).
then
((
int
code
)
{
expect
(
code
,
1
);
expect
(
testLogger
.
errorText
,
'[warning] The imported libraries
\'
a.dart
\'
and
\'
b.dart
\'
cannot have the same name
\'
test
\'
(
${dartFileB.path}
)
\n
'
);
expect
(
testLogger
.
statusText
,
'Analyzing 2 entry points...
\n
'
);
expect
(
code
,
0
);
expect
(
testLogger
.
statusText
,
startsWith
(
'Analyzing 2 files...
\n
No analyzer warnings!'
));
});
},
overrides:
<
Type
,
dynamic
>{
...
...
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