mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-09-29 10:48:08 +00:00
15 lines
228 B
Go
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)
|
||
|
}
|
||
|
}
|