Changeset 13618 in josm for trunk/test


Ignore:
Timestamp:
2018-04-12T01:49:18+02:00 (15 months ago)
Author:
Don-vip
Message:

see #16129 - fix generation of projection reference data with French locale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java

    r13609 r13618  
    248248            InputStream stderr = process.getErrorStream();
    249249            try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(stdin, StandardCharsets.UTF_8))) {
    250                 String s = String.format("%.9f %.9f%n", ll.lon(), ll.lat());
     250                String s = String.format("%s %s%n",
     251                        LatLon.cDdHighPecisionFormatter.format(ll.lon()),
     252                        LatLon.cDdHighPecisionFormatter.format(ll.lat()));
    251253                if (debug) {
    252254                    System.out.println("\n" + String.join(" ", args) + "\n" + s);
Note: See TracChangeset for help on using the changeset viewer.