Copyright: Update Konsist test
This commit is contained in:
parent
1292da2a72
commit
f5f1cee53b
1 changed files with 4 additions and 4 deletions
|
|
@ -16,10 +16,10 @@ import org.junit.Test
|
||||||
class KonsistLicenseTest {
|
class KonsistLicenseTest {
|
||||||
private val publicLicense = """
|
private val publicLicense = """
|
||||||
/\*
|
/\*
|
||||||
(?:.*\n)* \* Copyright 20\d\d((, |-)20\d\d)? New Vector Ltd.
|
(?:.*\n)* \* Copyright \(c\) 20\d\d((, |-)20\d\d)? Element Creations Ltd\.
|
||||||
(?:.*\n)* \*
|
(?:.*\n)* \*
|
||||||
\* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
\* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial\.
|
||||||
\* Please see LICENSE files in the repository root for full details.
|
\* Please see LICENSE files in the repository root for full details\.
|
||||||
\*/
|
\*/
|
||||||
""".trimIndent().toRegex()
|
""".trimIndent().toRegex()
|
||||||
|
|
||||||
|
|
@ -81,7 +81,7 @@ class KonsistLicenseTest {
|
||||||
it.name.startsWith("Template ").not()
|
it.name.startsWith("Template ").not()
|
||||||
}
|
}
|
||||||
.assertTrue {
|
.assertTrue {
|
||||||
it.text.count("New Vector") == 1
|
it.text.count("Element Creations") == 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue