-
Notifications
You must be signed in to change notification settings - Fork 156
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
Support noc for iat entries #328 #336
Conversation
# 328 Support NOC for IAT Entries
IAT code test coverage
Support NOC for IAT Entries
iatBatch update
Support_NOC-for-IAT-Entries
Increase IAT Addenda Record Code Test Coverage
Increase code test coverage for addenda18
Linux seems to have failed on GOVERALLS, so I restarted the build |
iatBatch.go
Outdated
msg := fmt.Sprint(msgIATBatchAddendaRequired) | ||
return &BatchError{BatchNumber: batch.Header.BatchNumber, FieldName: "Addenda16", Msg: msg} | ||
|
||
if entry.Category != CategoryNOC { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Often for big if block like this I'll reverse the logic to return
early. Then you don't have if's inside if's.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
return nill for addendaFieldInclusion when entry.Category is NOC
Remove typeCode() fucntion from Addenda10-Addenda16 types as they are not Addendumer
Return nil if entry.Category = NOC
Support NOC for IAT entries
No description provided.