Skip to content

Commit

Permalink
chrore: ignored main func from testing
Browse files Browse the repository at this point in the history
Signed-off-by: manhtukhang <[email protected]>
  • Loading branch information
manhtukhang committed Apr 24, 2024
1 parent fb9eec6 commit 02bcc23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test:

test-coverage:
go clean -testcache &&\
gotest -coverprofile=c.out -v ./src/...
gotest -coverprofile=c.out -v -tags=test ./src/...


.PHONY: fmt gofmt gofumpt goimports tidy check statccheck lint local-lint test test-coverage
2 changes: 2 additions & 0 deletions src/cmd/vault-plugin-secrets-nexus-repository/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build !test

package main

import (
Expand Down
1 change: 1 addition & 0 deletions src/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package nxr

import (
"context"

"github.com/hashicorp/vault/sdk/logical"
)

Expand Down

0 comments on commit 02bcc23

Please sign in to comment.