Upgrade to Hamcrest 2.2

Closes gh-18922
This commit is contained in:
Andy Wilkinson
2019-11-07 15:54:56 +00:00
parent 5692960377
commit 870aa86eb9
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ class GroovyGrabDependencyResolverTests {
.resolve(Arrays.asList("junit:junit:4.11", "commons-logging:commons-logging:1.1.3"));
assertThat(resolved).hasSize(4);
assertThat(getNames(resolved)).containsOnly("junit-4.11.jar", "commons-logging-1.1.3.jar",
"hamcrest-core-2.1.jar", "hamcrest-2.1.jar");
"hamcrest-core-2.2.jar", "hamcrest-2.2.jar");
}
Set<String> getNames(Collection<File> files) {