mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-16 15:20:38 +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)
|
|
}
|
|
}
|