void () { @Language("YAML") String schema = "{\"properties\": {\"prop\": {\"type\": \"string\", \"const\": \"foo\"}}}"; doTestYaml(schema, "prop: <warning>a</warning>"); doTestYaml(schema, "prop: <warning>5</warning>"); doTestYaml(schema, "prop: foo"); }