drone-yaml/yaml/pretty/cron_test.go

13 lines
192 B
Go
Raw Normal View History

2019-01-23 00:44:17 +01:00
package pretty
import "testing"
func TestCron(t *testing.T) {
ok, err := diff("testdata/cron.yml")
if err != nil {
t.Error(err)
} else if !ok {
t.Errorf("Unepxected formatting")
}
}