You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
drone-yaml/yaml/pretty/registry_test.go

13 lines
200 B
Go

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")
}
}