-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3350] Increase test coverage for cryptogen
As we start to package this tool, need to make sure the test coverage is adequate. This CR ups the current test coverage to >90%. It adds some logic to existing tests and modifies some functions to use nested if logic as independent checks for errors were not needed / efficient. Will need to add coverage for main.go in a follow-up change. Also addresses staticcheck errors from [FAB-3177] Change-Id: Ia7def11383e7c680ece59e5630cf9debaa6be2b0 Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
- Loading branch information
1 parent
2dcac50
commit e86ea5b
Showing
6 changed files
with
181 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.