Skip to content

Conversation

nao1215
Copy link
Owner

@nao1215 nao1215 commented Aug 27, 2022

No description provided.

cmd/root.go Outdated
return false
}

if bytes.Compare(currentFishCompletion.Bytes(), fishCompletionInLocal) != 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
S1004: should use !bytes.Equal(currentFishCompletion.Bytes(), fishCompletionInLocal) instead (gosimple)

cmd/root.go Outdated
return false
}

if bytes.Compare(currentZshCompletion.Bytes(), zshCompletionInLocal) != 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
S1004: should use !bytes.Equal(currentZshCompletion.Bytes(), zshCompletionInLocal) instead (gosimple)

@codecov
Copy link

codecov bot commented Aug 27, 2022

Codecov Report

Merging #8 (425071f) into main (c99f150) will decrease coverage by 9.21%.
The diff coverage is 63.33%.

❗ Current head 425071f differs from pull request most recent head 191d212. Consider uploading reports for the commit 191d212 to get more accurate results

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   75.00%   65.78%   -9.22%     
==========================================
  Files           2        3       +1     
  Lines          16       76      +60     
==========================================
+ Hits           12       50      +38     
- Misses          2       22      +20     
- Partials        2        4       +2     
Impacted Files Coverage Δ
internal/gocrypt/crypt_r.go 71.42% <ø> (ø)
internal/gocrypt/version.go 100.00% <ø> (ø)
unshadow/unshadow.go 63.33% <63.33%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nao1215 nao1215 merged commit a00eab0 into main Aug 27, 2022
@nao1215 nao1215 deleted the add-unit-test-for-unshadow branch August 27, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant