diff --git a/log_test.go b/log_test.go index a744ad9..f7fcbb1 100644 --- a/log_test.go +++ b/log_test.go @@ -99,7 +99,7 @@ func Test_PanicPlainTextLogs(t *testing.T) { func Test_FatalPlainTextLogs(t *testing.T) { cmd := exec.Command( - "go", "run", "./test/main.go", + "go", "run", "./testbin/main.go", ) cmd.Env = append(cmd.Env, "TEST_FATAL=1") diff --git a/sonar-project.properties b/sonar-project.properties index 3e4456d..e3c95ed 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.projectKey=b97a45b2-c25d-4fd1-898d-136414896ce6 sonar.projectName=mother-utils/motherlog sonar.language=go sonar.sources=. -sonar.exclusions=**/*_test.go +sonar.exclusions=**/*_test.go, testbin/** sonar.tests=. sonar.test.inclusions=**/*_test.go sonar.go.tests.reportPaths=test-report.out diff --git a/tests/main.go b/testbin/main.go similarity index 100% rename from tests/main.go rename to testbin/main.go