Fix typos in comment and test
Closes gh-32628
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -58,7 +58,7 @@ class PackagesAnnotationFilterTests {
|
||||
@Test
|
||||
void matchesWhenNotInPackageReturnsFalse() {
|
||||
PackagesAnnotationFilter filter = new PackagesAnnotationFilter("com.example");
|
||||
assertThat(filter.matches("org.springframework.sterotype.Component")).isFalse();
|
||||
assertThat(filter.matches("org.springframework.stereotype.Component")).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -332,7 +332,7 @@ class PathMatchingResourcePatternResolverTests {
|
||||
// Tests fail if we use resource.getURL().getPath(). They would also fail on macOS when
|
||||
// using resource.getURI().getPath() if the resource paths are not Unicode normalized.
|
||||
//
|
||||
// On the JVM, all tests should pass when using resouce.getFile().getPath(); however,
|
||||
// On the JVM, all tests should pass when using resource.getFile().getPath(); however,
|
||||
// we use FileSystemResource#getPath since this test class is sometimes run within a
|
||||
// GraalVM native image which cannot support Path#toFile.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user