Skip to content

Instantly share code, notes, and snippets.

@fanf
Created December 9, 2015 13:35
Show Gist options
  • Save fanf/be6d0b14fad7461a298a to your computer and use it in GitHub Desktop.
Save fanf/be6d0b14fad7461a298a to your computer and use it in GitHub Desktop.
def ignoreSomeLinesMatcher[L1 : LinesContent, L2 : LinesContent](): LinesPairComparisonMatcher[L1, L2] = LinesPairComparisonMatcher[L1, L2](
filter = new DifferenceFilter() {
def apply(diffs: (Seq[_], Seq[_])) = {
throw new Exception("OK!")
}
}
)
rootGeneratedPromisesDir must haveSameFilesAs(new File(EXPECTED_SHARE, "root")).withMatcher(ignoreSomeLinesMatcher())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment