mesalock-linux / mesabox

A collection of core system utilities written in Rust for Unix-like systems (and now Windows)
BSD 3-Clause "New" or "Revised" License
137 stars 19 forks source link

tests/posix/head: improve head's tests #23

Closed mssun closed 6 years ago

mssun commented 6 years ago

Add some tests for common functions which are not covered by existing cases.

codecov[bot] commented 6 years ago

Codecov Report

Merging #23 into master will increase coverage by 0.8%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #23     +/-   ##
=========================================
+ Coverage   21.67%   22.48%   +0.8%     
=========================================
  Files          25       25             
  Lines        2966     2966             
  Branches      681      681             
=========================================
+ Hits          643      667     +24     
+ Misses       2171     2134     -37     
- Partials      152      165     +13
Impacted Files Coverage Δ
src/posix/head/mod.rs 65.1% <0%> (+12.49%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 325fbc2...666aa45. Read the comment docs.