Skip to content

Add some more test coverage, address feedback on checking intput length

Codecov / codecov/patch failed Feb 14, 2024 in 1s

57.14% of diff hit (target 66.86%)

View this Pull Request on Codecov

57.14% of diff hit (target 66.86%)

Annotations

Check warning on line 169 in linux/system.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/system.go#L167-L169

Added lines #L167 - L169 were not covered by tests

Check warning on line 173 in linux/system.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/system.go#L172-L173

Added lines #L172 - L173 were not covered by tests

Check warning on line 175 in linux/system.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/system.go#L175

Added line #L175 was not covered by tests

Check warning on line 296 in linux/system.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/system.go#L291-L296

Added lines #L291 - L296 were not covered by tests

Check warning on line 299 in linux/system.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/system.go#L299

Added line #L299 was not covered by tests

Check warning on line 275 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L272-L275

Added lines #L272 - L275 were not covered by tests

Check warning on line 280 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L278-L280

Added lines #L278 - L280 were not covered by tests

Check warning on line 284 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L284

Added line #L284 was not covered by tests

Check warning on line 288 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L288

Added line #L288 was not covered by tests

Check warning on line 295 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L293-L295

Added lines #L293 - L295 were not covered by tests

Check warning on line 298 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L297-L298

Added lines #L297 - L298 were not covered by tests

Check warning on line 302 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L301-L302

Added lines #L301 - L302 were not covered by tests

Check warning on line 305 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L305

Added line #L305 was not covered by tests

Check warning on line 309 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L308-L309

Added lines #L308 - L309 were not covered by tests

Check warning on line 317 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L317

Added line #L317 was not covered by tests

Check warning on line 321 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L319-L321

Added lines #L319 - L321 were not covered by tests

Check warning on line 325 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L324-L325

Added lines #L324 - L325 were not covered by tests

Check warning on line 328 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L327-L328

Added lines #L327 - L328 were not covered by tests

Check warning on line 332 in linux/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

linux/util.go#L332

Added line #L332 was not covered by tests

Check warning on line 79 in megaraid/storcli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

megaraid/storcli.go#L78-L79

Added lines #L78 - L79 were not covered by tests

Check warning on line 83 in megaraid/storcli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

megaraid/storcli.go#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 88 in megaraid/storcli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

megaraid/storcli.go#L87-L88

Added lines #L87 - L88 were not covered by tests

Check warning on line 631 in megaraid/storcli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

megaraid/storcli.go#L625-L631

Added lines #L625 - L631 were not covered by tests

Check warning on line 634 in megaraid/storcli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

megaraid/storcli.go#L634

Added line #L634 was not covered by tests

Check warning on line 638 in megaraid/storcli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

megaraid/storcli.go#L637-L638

Added lines #L637 - L638 were not covered by tests