Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add `assertElem` assertion #27

Closed
nikita-volkov opened this Issue · 1 comment

2 participants

@nikita-volkov

I imply something in the spirit of the following, but with a proper location and htfpp support:

assertElem item list =
  assertBoolVerbose 
    ("Expected item '" ++ item ++ "' to be in " ++ show list)
    (item `elem` list)

I personally find myself very often in the need of this.

@skogsbaer
Owner

will be fixed in the next release, already fixed in HEAD

@skogsbaer skogsbaer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.