mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-25 19:40:42 +00:00
13 lines
192 B
Go
13 lines
192 B
Go
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")
|
|
}
|
|
}
|