Skip to content

Commit e9dfe2b

Browse files
authored
Fix code coverage collection for integration tests. (#8324)
1 parent 1195830 commit e9dfe2b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

pkg/code_coverage/lib/test_runner.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ Future<Process> _startCollect(int port, String outputFile) async {
9898
final p = await Process.start(
9999
'dart',
100100
[
101-
'pub',
102101
'run',
103102
'coverage:collect_coverage',
104103
'--uri=http://localhost:$port',
@@ -123,7 +122,6 @@ Future<void> _convertToLcov(
123122
await Process.run(
124123
'dart',
125124
[
126-
'pub',
127125
'run',
128126
'coverage:format_coverage',
129127
'--packages',

pkg/pub_integration/lib/src/fake_pub_server_process.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ class _CoverageConfig {
261261
_process = await Process.start(
262262
'dart',
263263
[
264-
'pub',
265264
'run',
266265
'coverage:collect_coverage',
267266
'--uri=http://localhost:$vmPort',

0 commit comments

Comments
 (0)