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