mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
kyaml: initial support for yaml and resource manipulation
This commit is contained in:
28
kyaml/kio/kio_test.go
Normal file
28
kyaml/kio/kio_test.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// Copyright 2019 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package kio_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
. "sigs.k8s.io/kustomize/kyaml/kio"
|
||||
)
|
||||
|
||||
func TestPipe(t *testing.T) {
|
||||
p := Pipeline{
|
||||
Inputs: []Reader{},
|
||||
Filters: []Filter{},
|
||||
Outputs: []Writer{},
|
||||
}
|
||||
|
||||
err := p.Execute()
|
||||
if !assert.NoError(t, err) {
|
||||
assert.FailNow(t, err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
func TestSlice_Write(t *testing.T) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user