refactor: using error is instead of == [skip changelog] #10093
26.92% of diff hit (target 53.59%)
View this Pull Request on Codecov
26.92% of diff hit (target 53.59%)
Annotations
Check warning on line 83 in client/rpc/name.go
codecov / codecov/patch
client/rpc/name.go#L83
Added line #L83 was not covered by tests
Check warning on line 85 in cmd/ipfs/util/ulimit.go
codecov / codecov/patch
cmd/ipfs/util/ulimit.go#L85
Added line #L85 was not covered by tests
Check warning on line 110 in cmd/ipfs/util/ulimit.go
codecov / codecov/patch
cmd/ipfs/util/ulimit.go#L110
Added line #L110 was not covered by tests
Check warning on line 39 in config/bootstrap_peers.go
codecov / codecov/patch
config/bootstrap_peers.go#L39
Added line #L39 was not covered by tests
Check warning on line 120 in config/config.go
codecov / codecov/patch
config/config.go#L120
Added line #L120 was not covered by tests
Check warning on line 132 in config/config.go
codecov / codecov/patch
config/config.go#L132
Added line #L132 was not covered by tests
Check warning on line 143 in config/config.go
codecov / codecov/patch
config/config.go#L143
Added line #L143 was not covered by tests
Check warning on line 147 in config/config.go
codecov / codecov/patch
config/config.go#L147
Added line #L147 was not covered by tests
Check warning on line 31 in config/serialize/serialize.go
codecov / codecov/patch
config/serialize/serialize.go#L31
Added line #L31 was not covered by tests
Check warning on line 312 in core/bootstrap/bootstrap.go
codecov / codecov/patch
core/bootstrap/bootstrap.go#L312
Added line #L312 was not covered by tests
Check warning on line 69 in repo/fsrepo/migrations/httpfetcher.go
codecov / codecov/patch
repo/fsrepo/migrations/httpfetcher.go#L69
Added line #L69 was not covered by tests
Check warning on line 85 in repo/fsrepo/migrations/httpfetcher.go
codecov / codecov/patch
repo/fsrepo/migrations/httpfetcher.go#L85
Added line #L85 was not covered by tests
Check warning on line 35 in repo/fsrepo/migrations/migrations.go
codecov / codecov/patch
repo/fsrepo/migrations/migrations.go#L35
Added line #L35 was not covered by tests
Check warning on line 101 in repo/fsrepo/migrations/migrations.go
codecov / codecov/patch
repo/fsrepo/migrations/migrations.go#L101
Added line #L101 was not covered by tests
Check warning on line 296 in repo/fsrepo/migrations/migrations.go
codecov / codecov/patch
repo/fsrepo/migrations/migrations.go#L296
Added line #L296 was not covered by tests
Check warning on line 60 in repo/fsrepo/migrations/versions.go
codecov / codecov/patch
repo/fsrepo/migrations/versions.go#L60
Added line #L60 was not covered by tests
Check warning on line 107 in routing/composer.go
codecov / codecov/patch
routing/composer.go#L107
Added line #L107 was not covered by tests