Skip to content

Commit 12c298e

Browse files
committed
Rename _output_tests back to output_tests
1 parent aa775d8 commit 12c298e

37 files changed

+2
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ all:
44

55
test:
66
go test -race ./...
7-
go -C ./examples/defaulter-gen/_output_tests test ./...
7+
go -C ./examples/defaulter-gen/output_tests test ./...
88
make -C v2 test
99

1010
# We verify for the maximum version of the go directive as 1.20

examples/defaulter-gen/_output_tests/go.mod renamed to examples/defaulter-gen/output_tests/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Package must be named output_tests rather than _output tests to avoid
2-
// ambiguous import conflict with main gengo package
31
module k8s.io/gengo/examples/defaulter-gen/output_tests
42

53
go 1.20

hack/verify-examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ find ./examples/set-gen/sets -maxdepth 1 -type f -not -name "set_test.go" -not -
3434
# Generate set-gen first since others depend on it
3535
echo "Generating example output"
3636
go generate ./examples/...
37-
go -C ./examples/defaulter-gen/_output_tests generate ./...
37+
go -C ./examples/defaulter-gen/output_tests generate ./...
3838

3939
# If there are any differences with committed files, fail
4040
if ! git diff --quiet HEAD; then

0 commit comments

Comments
 (0)