Skip to content

Commit b337796

Browse files
authored
Update soundness script for 2022 (#2027)
1 parent c2cabf4 commit b337796

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/NIOPosixTests/EventLoopTest+XCTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the SwiftNIO open source project
44
//
5-
// Copyright (c) 2017-2021 Apple Inc. and the SwiftNIO project authors
5+
// Copyright (c) 2017-2022 Apple Inc. and the SwiftNIO project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

scripts/soundness.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
##
44
## This source file is part of the SwiftNIO open source project
55
##
6-
## Copyright (c) 2017-2019 Apple Inc. and the SwiftNIO project authors
6+
## Copyright (c) 2017-2022 Apple Inc. and the SwiftNIO project authors
77
## Licensed under Apache License v2.0
88
##
99
## See LICENSE.txt for license information
@@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1818

1919
function replace_acceptable_years() {
2020
# this needs to replace all acceptable forms with 'YEARS'
21-
sed -e 's/20[12][78901]-20[12][8901]/YEARS/' -e 's/20[12][8901]/YEARS/'
21+
sed -e 's/20[12][789012]-20[12][89012]/YEARS/' -e 's/20[12][89012]/YEARS/'
2222
}
2323

2424
printf "=> Checking linux tests... "

0 commit comments

Comments
 (0)