mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix typo in test
This commit is contained in:
+2
-2
@@ -232,7 +232,7 @@ class GenericApplicationContextTests {
|
||||
assertGetResourceSemantics(new FileSystemResourceLoader(), FileSystemResource.class);
|
||||
}
|
||||
|
||||
private void assertGetResourceSemantics(ResourceLoader resourceLoader, Class<? extends Resource> defaultResouceType) {
|
||||
private void assertGetResourceSemantics(ResourceLoader resourceLoader, Class<? extends Resource> defaultResourceType) {
|
||||
if (resourceLoader != null) {
|
||||
context.setResourceLoader(resourceLoader);
|
||||
}
|
||||
@@ -241,7 +241,7 @@ class GenericApplicationContextTests {
|
||||
String fileLocation = "file:foo";
|
||||
|
||||
Resource resource = context.getResource(pingLocation);
|
||||
assertThat(resource).isInstanceOf(defaultResouceType);
|
||||
assertThat(resource).isInstanceOf(defaultResourceType);
|
||||
resource = context.getResource(fileLocation);
|
||||
assertThat(resource).isInstanceOf(FileUrlResource.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user