11/*******************************************************************************
2- * Copyright (c) 2010, 2021 Sonatype, Inc.
2+ * Copyright (c) 2010, 2024 Sonatype, Inc.
33 * All rights reserved. This program and the accompanying materials
44 * are made available under the terms of the Eclipse Public License 2.0
55 * which accompanies this distribution, and is available at
@@ -355,10 +355,10 @@ public void test526858_TestClasspathAttributeOnJar() throws Exception {
355355 .getClasspathEntries ();
356356 assertEquals ("" + Arrays .asList (classpathEntries ), 6 , classpathEntries .length );
357357 //test dependency
358- assertEquals ("junit-4.13.1 .jar" , classpathEntries [0 ].getPath ().lastSegment ());
358+ assertEquals ("junit-4.13.2 .jar" , classpathEntries [0 ].getPath ().lastSegment ());
359359 assertTest (classpathEntries [0 ]);
360360 //compile dependency
361- assertEquals ("commons-io-2.7 .jar" , classpathEntries [2 ].getPath ().lastSegment ());
361+ assertEquals ("commons-io-2.17.0 .jar" , classpathEntries [2 ].getPath ().lastSegment ());
362362 assertNotTest (classpathEntries [2 ]);
363363 //test + transitive test dependencies
364364 assertEquals ("commons-beanutils-1.9.4.jar" , classpathEntries [3 ].getPath ().lastSegment ());
@@ -381,7 +381,7 @@ public void test526858_TestClasspathAttributeOnProject() throws Exception {
381381 assertDoesntExportTests (classpathEntries [0 ]);
382382
383383 //transitive test dependency
384- assertEquals ("commons-io-2.7 .jar" , classpathEntries [1 ].getPath ().lastSegment ());
384+ assertEquals ("commons-io-2.17.0 .jar" , classpathEntries [1 ].getPath ().lastSegment ());
385385 assertTest (classpathEntries [1 ]);
386386 }
387387
@@ -436,7 +436,7 @@ public void test526858_ProjectExportingTests() throws Exception {
436436 assertExportsTests (classpathEntries [0 ]);
437437
438438 //transitive dependency
439- assertEquals ("commons-io-2.7 .jar" , classpathEntries [1 ].getPath ().lastSegment ());
439+ assertEquals ("commons-io-2.17.0 .jar" , classpathEntries [1 ].getPath ().lastSegment ());
440440 assertNotTest (classpathEntries [1 ]);
441441 }
442442
0 commit comments