drone-yaml/yaml/pretty/registry_test.go

13 lines
200 B
Go
Raw Normal View History

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