Skip to content

Commit 9978929

Browse files
revert generated code
1 parent 9509357 commit 9978929

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pkg/applyconfiguration/applyconfiguration_integration_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ var _ = Describe("ApplyConfiguration generation from API types", func() {
193193
// Make sure the import paths are correct for the newly generated content.
194194
content = []byte(strings.ReplaceAll(string(content), "testdata/cronjob/api/v1/applyconfiguration", filepath.Join("testdata/cronjob/api/v1", outputPackage)))
195195

196-
// Make sure the interface{} is replaced with any.
197-
content = []byte(strings.ReplaceAll(string(content), "any", "interface{}"))
198-
199196
Expect(string(filesInOutput[name])).To(BeComparableTo(string(content)), "Generated files should match the checked in files, diff found in %s", name)
200197
}
201198
},

pkg/applyconfiguration/testdata/cronjob/api/v1/applyconfiguration/utils.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)