Skip to content

Commit d572257

Browse files
committed
Move FIPS test utility into internal/testutil module
1 parent 87349a7 commit d572257

File tree

6 files changed

+38
-8
lines changed

6 files changed

+38
-8
lines changed

internal/testutil/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Test Utilities
2+
3+
The `go.opentelemetry.io/collector/internal/testutil` module provides utility functions, etc. for use by tests in other
4+
OpenTelemetry Collector modules.

testutils/fips.go renamed to internal/testutil/fips.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4-
package testutils // import "go.opentelemetry.io/collector/testutils"
4+
package testutil // import "go.opentelemetry.io/collector/internal/testutil"
55

66
import (
77
"os"

internal/testutil/go.mod

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module go.opentelemetry.io/collector/internal/testutil
2+
3+
go 1.24.0
4+
5+
require (
6+
github.com/stretchr/testify v1.11.1
7+
go.uber.org/goleak v1.3.0
8+
)
9+
10+
require (
11+
github.com/davecgh/go-spew v1.1.1 // indirect
12+
github.com/kr/text v0.2.0 // indirect
13+
github.com/pmezard/go-difflib v1.0.0 // indirect
14+
gopkg.in/yaml.v3 v3.0.1 // indirect
15+
)

internal/testutil/go.sum

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testutils/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

testutils/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)