Skip to content

Commit 2c904ca

Browse files
committed
Replace curl with common echtest package
1 parent f0557b7 commit 2c904ca

6 files changed

Lines changed: 263 additions & 462 deletions

File tree

greasereport/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ var curlExitCodeNames = map[int]string{
137137
}
138138

139139
func runTest(curlPath string, domain tranco.Domain, echGrease bool, maxTime time.Duration) TestResult {
140+
// TODO: Refactor this to use internal/echtest.Run to avoid code duplication.
140141
result := TestResult{
141142
Domain: domain.Name,
142143
Rank: domain.Rank,

internal/curl/exit_codes.go

Lines changed: 0 additions & 113 deletions
This file was deleted.

internal/curl/runner.go

Lines changed: 0 additions & 170 deletions
This file was deleted.

internal/curl/stats.go

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)