Skip to content

Commit 6b4317c

Browse files
committed
test(model): Clarify that the Repository, not VcsInfo is relevant
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent a23ccdc commit 6b4317c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

model/src/test/kotlin/OrtResultTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class OrtResultTest : WordSpec({
162162
}
163163

164164
"getDefinitionFilePathRelativeToAnalyzerRoot()" should {
165-
"use the correct vcs" {
165+
"use the correct repository" {
166166
val vcs = VcsInfo(type = VcsType.GIT, url = "https://example.com/git", revision = "")
167167
val nestedVcs1 = VcsInfo(type = VcsType.GIT, url = "https://example.com/git1", revision = "")
168168
val nestedVcs2 = VcsInfo(type = VcsType.GIT, url = "https://example.com/git2", revision = "")
@@ -202,7 +202,7 @@ class OrtResultTest : WordSpec({
202202
ortResult.getDefinitionFilePathRelativeToAnalyzerRoot(project3) shouldBe "path/2/project3/build.gradle"
203203
}
204204

205-
"fail if no vcs matches" {
205+
"fail if no repository matches" {
206206
val vcs = VcsInfo(type = VcsType.GIT, url = "https://example.com/git", revision = "")
207207
val nestedVcs1 = VcsInfo(type = VcsType.GIT, url = "https://example.com/git1", revision = "")
208208
val nestedVcs2 = VcsInfo(type = VcsType.GIT, url = "https://example.com/git2", revision = "")

0 commit comments

Comments
 (0)