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

Add unit tests #51

Closed
wants to merge 1 commit into from
Closed

Add unit tests #51

wants to merge 1 commit into from

Conversation

joaopedrocsilva
Copy link
Contributor

No description provided.

@joaopedrocsilva joaopedrocsilva self-assigned this Apr 18, 2023
@github-actions
Copy link

kics-logo

KICS version: v1.6.13

Category Results
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 1
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 1
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 49
Queries failed to execute placeholder 0
Execution time placeholder 2

Copy link
Member

@jossef jossef left a comment

Choose a reason for hiding this comment

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

test failing because of missing file. see this to see missing context
golangci/golangci-lint#825

"testing"
)

func TestWrapper_Detect(t *testing.T) {
// Load items
csvFile, err := os.Open("../testdata/items.csv")
Copy link
Member

Choose a reason for hiding this comment

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

path join

@joaopedrocsilva joaopedrocsilva deleted the joaocs/unit_tests branch April 20, 2023 21:17
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.

None yet

2 participants