Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-54

testUsEnglishStatic doesn't fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • None

    Description

      The source code for SoundexTest has this:

      // This test fails.
      public void testUsEnglishStatic()

      { assertEquals( Soundex.US_ENGLISH.soundex( "Williams" ), "W452" ); }

      However the test doesn't seem to fail.

      It's followed by:

      // This test succeeds.
      public void testNewInstance()

      { assertEquals( new Soundex().soundex( "Williams" ), "W452" ); }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bayard Henri Yandell
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: