Moving internal types to the right location.

This commit is contained in:
Renan DelValle 2020-05-06 18:30:22 -07:00
parent e3e7bc1110
commit bbccabcd27
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
6 changed files with 310 additions and 92 deletions

18
internal/util_test.go Normal file
View 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)
}