Skip to content

Commit

Permalink
Move release testdata file to operations sub-package (#7952)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay-krishna authored Apr 10, 2024
1 parent a0e5f31 commit 2124614
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions release/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ bin/golangci-lint:
unit-test: ## Run go test against code.
$(GO) test -C ./cli -count=1 ./...

update-bundle-golden-files: ## Updates testdata files located under pkg/test/testdata
update-bundle-golden-files: ## Updates testdata files located under pkg/operations/testdata
$(GO) test -C cli -count=1 ./pkg/operations -update
$(eval DIFF_LINE_COUNT=$(shell git diff cli/pkg/test/testdata | wc -l))
$(eval DIFF_LINE_COUNT=$(shell git diff cli/pkg/operations/testdata | wc -l))
@if [[ $(DIFF_LINE_COUNT) != 0 ]]; then \
printf "\n\033[33mWarning:\033[0m Testdata files have been updated! Ensure that these changes were intentional.\n"; \
fi
Expand Down
2 changes: 1 addition & 1 deletion release/cli/pkg/operations/bundle_release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

const (
releaseFolder = "release"
testdataFolder = "cli/pkg/test/testdata"
testdataFolder = "cli/pkg/operations/testdata"
generatedBundleFolder = "generated-bundles"
)

Expand Down

0 comments on commit 2124614

Please sign in to comment.