Created
December 9, 2015 13:35
-
-
Save fanf/be6d0b14fad7461a298a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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