8297091: New langtools test jdk/javadoc/doclet/testValueTag/TestValueFormats.java fails on machines with unexpected number format
Reviewed-by: prappo, jjg
This commit is contained in:
parent
b6dddf4ce6
commit
4a544bb0fc
@ -86,7 +86,7 @@ public class TestValueFormats extends JavadocTester {
|
||||
"""
|
||||
<h3>pi</h3>
|
||||
<div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">double</span> <span class="element-name">pi</span></div>
|
||||
<div class="block">The value 3.1415926525 is 3.14.</div>""");
|
||||
<div class="block">The value 3.1415926525 is %5.2f.</div>""".formatted(3.14));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user