" number:\n" +
" type: number\n" +
" maximum: 9.5\n" +
" minimum: 2.0";
Raml raml = parseRaml(yaml, "");
RamlEmitter emitter = new RamlEmitter();
String dump = emitter.dump(raml);
assertThat(dump, containsString("maximum: 8"));
assertThat(dump, not(containsString("maximum: 8.0")));
assertThat(dump, containsString("minimum: 1"));
assertThat(dump, not(containsString("minimum: 1.0")));
assertThat(dump, containsString("maximum: 9.5"));