drone-yaml/yaml/pipeline_test.go

15 lines
228 B
Go
Raw Normal View History

2019-01-23 00:44:17 +01:00
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)
}
}