Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover/cmds/core/cat #2183

Merged
merged 1 commit into from Nov 29, 2021
Merged

cover/cmds/core/cat #2183

merged 1 commit into from Nov 29, 2021

Conversation

ChriMarMe
Copy link
Contributor

Restructure main
Add test for empty arguments
Add test for file not exist
Add test for io copy fail

Signed-off-by: Christopher Meis christopher.meis@9elements.com

@codecov
Copy link

codecov bot commented Nov 23, 2021

Codecov Report

Merging #2183 (2de1add) into master (28356b5) will increase coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head 2de1add differs from pull request most recent head 5e818d0. Consider uploading reports for the commit 5e818d0 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2183      +/-   ##
==========================================
+ Coverage   60.31%   60.34%   +0.02%     
==========================================
  Files         399      399              
  Lines       40606    40606              
==========================================
+ Hits        24490    24502      +12     
+ Misses      15152    15142      -10     
+ Partials      964      962       -2     
Impacted Files Coverage Δ
cmds/core/cat/cat.go 78.94% <100.00%> (+36.84%) ⬆️
pkg/strace/tracer.go 58.87% <0.00%> (+2.33%) ⬆️

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 28356b5...5e818d0. Read the comment docs.

cmds/core/cat/cat_test.go Outdated Show resolved Hide resolved
cmds/core/cat/cat_test.go Outdated Show resolved Hide resolved
cmds/core/cat/cat_test.go Outdated Show resolved Hide resolved
cmds/core/cat/cat.go Show resolved Hide resolved
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
@rjoleary rjoleary added the coverage Pull requests related to code coverage label Nov 24, 2021
@ChriMarMe ChriMarMe force-pushed the cover/cmds/cat branch 4 times, most recently from a15f900 to c2bc9e1 Compare November 24, 2021 09:38
@ChriMarMe
Copy link
Contributor Author

Reworked it again. Maybe this is a little better :)

@ChriMarMe ChriMarMe added the Awaiting reviewer Waiting for a reviewer. label Nov 24, 2021
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
cmds/core/cat/cat.go Show resolved Hide resolved
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
cmds/core/cat/cat.go Outdated Show resolved Hide resolved
@ChriMarMe ChriMarMe force-pushed the cover/cmds/cat branch 3 times, most recently from 4c3ccc1 to f31935a Compare November 29, 2021 07:24
Add more tests

Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
@rjoleary rjoleary added the automerge Applying this label auto-merges the PR when ready label Nov 29, 2021
@rjoleary rjoleary merged commit d4fbfbc into master Nov 29, 2021
@ChriMarMe ChriMarMe deleted the cover/cmds/cat branch April 5, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Applying this label auto-merges the PR when ready Awaiting reviewer Waiting for a reviewer. coverage Pull requests related to code coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants