Skip to content

Commit c7a9eb5

Browse files
Fix Typo In SubjectDnX509PrincipalExtractorTests
1 parent 226e81d commit c7a9eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/test/java/org/springframework/security/web/authentication/preauth/x509/SubjectDnX509PrincipalExtractorTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@ public void invalidRegexFails() {
4949
}
5050

5151
@Test
52-
public void defaultCNPatternReturnsExcpectedPrincipal() throws Exception {
52+
public void defaultCNPatternReturnsExpectedPrincipal() throws Exception {
5353
Object principal = this.extractor.extractPrincipal(X509TestUtils.buildTestCertificate());
5454
assertThat(principal).isEqualTo("Luke Taylor");
5555
}

0 commit comments

Comments
 (0)