[jira] Closed: (CODEC-54) testUsEnglishStatic doesn't fail

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (CODEC-54) testUsEnglishStatic doesn't fail

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CODEC-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory closed CODEC-54.
-----------------------------

    Resolution: Fixed

Fixed by [CODEC-56]

> testUsEnglishStatic doesn't fail
> --------------------------------
>
>                 Key: CODEC-54
>                 URL: https://issues.apache.org/jira/browse/CODEC-54
>             Project: Commons Codec
>          Issue Type: Bug
>            Reporter: Henri Yandell
>             Fix For: 1.4
>
>
> 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" );
>     }

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.