Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8329354

java/text/Format/MessageFormat/CompactSubFormats.java fails

XMLWordPrintable

    • b17

      STARTED CompactSubFormats::applyPatternTest 'applyPatternTest()'
      SUCCESSFUL CompactSubFormats::applyPatternTest 'applyPatternTest()'
      STARTED CompactSubFormats::recognizedCompactStylesTest 'recognizedCompactStylesTest()'
      org.opentest4j.AssertionFailedError: expected: <DecimalFormat [locale: "English", pattern: "compact_regular#"]
      > but was: <DecimalFormat [locale: "English (United States)", pattern: "compact_regular#"]
      >
              at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
              at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
              at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
              at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1142)
              at CompactSubFormats.recognizedCompactStylesTest(CompactSubFormats.java:67)

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: