jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • FEST
  • FEST-464

ListAssert.containsSequence() fails unexpectedly

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: FEST-Assert 1.4
  • Fix Version/s: FEST-Assert 2.0M1
  • Component/s: Assert
  • Labels:
    None
  • Testcase included:
    yes

Description

I would expect the following test to pass. But it fails

@Test
public void containsSequence() {
    assertThat(java.util.Arrays.asList(1, 2, 1, 3)).containsSequence(1, 3);
}

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Joel Costigliola added a comment - 02/Feb/12 3:11 PM

You are right, it should pass.
Thanks for reporting this.

Show
Joel Costigliola added a comment - 02/Feb/12 3:11 PM You are right, it should pass. Thanks for reporting this.

People

  • Assignee:
    Joel Costigliola
    Reporter:
    Frank Neblung
Vote (0)
Watch (0)

Dates

  • Created:
    02/Feb/12 6:14 AM
    Updated:
    07/Mar/12 4:44 PM
    Resolved:
    05/Feb/12 4:18 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.