void () { @Language("YAML") final String schema = """ properties: prop:\s type: string minLength: 2 maxLength: 3"""; doTestYaml(schema, "prop: <warning descr=\"Schema validation: String is shorter than 2\">s</warning>"); doTestYaml(schema, "prop: sh"); doTestYaml(schema, "prop: sho"); doTestYaml(schema, "prop: <warning descr=\"Schema validation: String is longer than 3\">shor</warning>"); }