Consistently include leading slash for classpath: resources in the TCF
This commit is contained in:
@@ -73,7 +73,7 @@ class BootstrapTestUtilsMergedConfigTests extends AbstractContextConfigurationUt
|
||||
assertMergedConfig(
|
||||
mergedConfig,
|
||||
testClass,
|
||||
array("classpath:org/springframework/test/context/support/AbstractContextConfigurationUtilsTests$BareAnnotations-context.xml"),
|
||||
array("classpath:/org/springframework/test/context/support/AbstractContextConfigurationUtilsTests$BareAnnotations-context.xml"),
|
||||
EMPTY_CLASS_ARRAY, DelegatingSmartContextLoader.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ class GenericXmlContextLoaderResourceLocationsTests {
|
||||
args(ClasspathNonExistentDefaultLocationsTestCase.class, array()),
|
||||
|
||||
args(ClasspathExistentDefaultLocationsTestCase.class, array(
|
||||
"classpath:org/springframework/test/context/support/GenericXmlContextLoaderResourceLocationsTests$ClasspathExistentDefaultLocationsTestCase-context.xml")),
|
||||
"classpath:/org/springframework/test/context/support/GenericXmlContextLoaderResourceLocationsTests$ClasspathExistentDefaultLocationsTestCase-context.xml")),
|
||||
|
||||
args(ImplicitClasspathLocationsTestCase.class,
|
||||
array("classpath:/org/springframework/test/context/support/context1.xml",
|
||||
|
||||
Reference in New Issue
Block a user