From f5f1cee53b6dcc0a4659d5ede2d39f5147edbe7d Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 10 Nov 2025 10:26:37 +0100 Subject: [PATCH] Copyright: Update Konsist test --- .../element/android/tests/konsist/KonsistLicenseTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistLicenseTest.kt b/tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistLicenseTest.kt index f198a00e2e..986c7572f0 100644 --- a/tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistLicenseTest.kt +++ b/tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistLicenseTest.kt @@ -16,10 +16,10 @@ import org.junit.Test class KonsistLicenseTest { 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)* \* - \* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. - \* Please see LICENSE files in the repository root for full details. + \* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial\. + \* Please see LICENSE files in the repository root for full details\. \*/ """.trimIndent().toRegex() @@ -81,7 +81,7 @@ class KonsistLicenseTest { it.name.startsWith("Template ").not() } .assertTrue { - it.text.count("New Vector") == 1 + it.text.count("Element Creations") == 1 } } }