Skip to content

Instantly share code, notes, and snippets.

@jstrachan
Created March 29, 2012 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstrachan/2234425 to your computer and use it in GitHub Desktop.
Save jstrachan/2234425 to your computer and use it in GitHub Desktop.
val data = arrayList("foo", "bar")
assertTrue {
data.any{it.startsWith("f")}
}
assertNot {
data.any{it.startsWith("x")}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment