mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 09:51:23 +00:00
Replace pkger with embed.FS compatibility
This commit is contained in:
17
kyaml/fn/framework/example/main_test.go
Normal file
17
kyaml/fn/framework/example/main_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2021 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"sigs.k8s.io/kustomize/kyaml/fn/framework/frameworktestutil"
|
||||
)
|
||||
|
||||
func TestRun(t *testing.T) {
|
||||
prc := frameworktestutil.CommandResultsChecker{
|
||||
Command: buildCmd,
|
||||
}
|
||||
prc.Assert(t)
|
||||
}
|
||||
Reference in New Issue
Block a user