Skip to content

Package collection tests for file.go #139

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

Merged
merged 5 commits into from
Jun 11, 2021

Conversation

steve-offutt
Copy link
Contributor

  • Adding tests for collection/file.go (getString, resetFile, hashCopy).
  • I would like to tackle testing the LiveCollector.createFile(...) method but I will open that in a separate PR.

@CLAassistant
Copy link

CLAassistant commented Jun 10, 2021

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jun 10, 2021

Codecov Report

Merging #139 (c9d4853) into master (75bc8cf) will increase coverage by 0.96%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
+ Coverage   47.17%   48.13%   +0.96%     
==========================================
  Files          12       12              
  Lines         833      833              
==========================================
+ Hits          393      401       +8     
+ Misses        341      332       -9     
- Partials       99      100       +1     
Impacted Files Coverage Δ
collection/file.go 52.74% <0.00%> (+8.79%) ⬆️

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 75bc8cf...c9d4853. Read the comment docs.

@@ -75,7 +75,7 @@ jobs:
run: |
go mod download
go mod vendor
go generate
go generate -mod=vendor
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should fix the "inconsistent vendoring" build error that the CI was running into.

@cugu cugu merged commit 54c433a into forensicanalysis:master Jun 11, 2021
@cugu
Copy link
Member

cugu commented Jun 11, 2021

Nice work, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants