drone-yaml/yaml/pipeline_test.go
2019-01-22 15:44:17 -08:00

15 lines
228 B
Go

package yaml
import "testing"
func TestPipelineUnmarshal(t *testing.T) {
diff, err := diff("testdata/pipeline.yml")
if err != nil {
t.Error(err)
}
if diff != "" {
t.Error("Failed to parse pipeline")
t.Log(diff)
}
}