Skip to content

Commit f16040a

Browse files
committed
Copyright: Update Konsist test
1 parent eb31505 commit f16040a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistLicenseTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import org.junit.Test
1616
class KonsistLicenseTest {
1717
private val publicLicense = """
1818
/\*
19-
(?:.*\n)* \* Copyright 20\d\d((, |-)20\d\d)? New Vector Ltd.
19+
(?:.*\n)* \* Copyright \(c\) 20\d\d((, |-)20\d\d)? Element Creations Ltd\.
2020
(?:.*\n)* \*
21-
\* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
22-
\* Please see LICENSE files in the repository root for full details.
21+
\* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial\.
22+
\* Please see LICENSE files in the repository root for full details\.
2323
\*/
2424
""".trimIndent().toRegex()
2525

@@ -81,7 +81,7 @@ class KonsistLicenseTest {
8181
it.name.startsWith("Template ").not()
8282
}
8383
.assertTrue {
84-
it.text.count("New Vector") == 1
84+
it.text.count("Element Creations") == 1
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)