Fix pkg names != dir in tests

This commit is contained in:
Tim Hockin 2025-03-16 14:41:18 -07:00
parent b47e839e4e
commit 8f69d596e8
No known key found for this signature in database
7 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@ limitations under the License.
// +k8s:validation-gen-test-fixture=validateFalse
// This is a test package.
package eachkey
package keys
import "k8s.io/code-generator/cmd/validation-gen/testscheme"

View File

@ -1,5 +1,5 @@
{
"*eachkey.Struct": {
"*keys.Struct": {
"": [
"type Struct"
],

View File

@ -19,7 +19,7 @@ limitations under the License.
// Code generated by validation-gen. DO NOT EDIT.
package eachkey
package keys
import (
context "context"

View File

@ -19,7 +19,7 @@ limitations under the License.
// Code generated by validation-gen. DO NOT EDIT.
package eachkey
package keys
import (
"testing"

View File

@ -18,7 +18,7 @@ limitations under the License.
// +k8s:validation-gen-scheme-registry=k8s.io/code-generator/cmd/validation-gen/testscheme.Scheme
// This is a test package.
package format
package immutable
import "k8s.io/code-generator/cmd/validation-gen/testscheme"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package format
package immutable
import (
"testing"

View File

@ -19,7 +19,7 @@ limitations under the License.
// Code generated by validation-gen. DO NOT EDIT.
package format
package immutable
import (
context "context"