We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c42af68 commit c2c2d06Copy full SHA for c2c2d06
yaml/src/test/java/com/fasterxml/jackson/dataformat/yaml/ser/GeneratorWithMinimizeTest.java
@@ -128,6 +128,10 @@ public void testQuoteNumberStoredAsString() throws Exception
128
yaml = mapper.writeValueAsString(Collections.singletonMap("key", "-60")).trim();
129
assertEquals("---\n" +
130
"key: \"-60\"", yaml);
131
+
132
+ yaml = mapper.writeValueAsString(Collections.singletonMap("key", "-60.25")).trim();
133
+ assertEquals("---\n" +
134
+ "key: \"-60.25\"", yaml);
135
}
136
137
public void testNonQuoteNumberStoredAsString() throws Exception
0 commit comments