Moving internal types to the right location.
This commit is contained in:
parent
e3e7bc1110
commit
bbccabcd27
6 changed files with 310 additions and 92 deletions
18
internal/util_test.go
Normal file
18
internal/util_test.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package internal
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestUnmarshalJob(t *testing.T) {
|
||||
_, err := UnmarshalJob("../test/hello_world.yaml")
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
||||
func TestUnmarshalUpdate(t *testing.T) {
|
||||
_, err := UnmarshalUpdate("../test/update_hello_world.yaml")
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue