Skip to content

Commit b026283

Browse files
fix: pin reachable VCS test fixture
1 parent 103a5ae commit b026283

6 files changed

Lines changed: 209 additions & 215 deletions

vcs/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies {
88
val cloneTestRepo by tasks.registering {
99
val testDataDirectory = File(System.getProperty("user.home")).resolve(".eureka-test-data")
1010
val testRepoDirectory = testDataDirectory.resolve("simple-android")
11-
val commitHash = "5eb413173505ceb287a7b0bfb27b698ed556c829"
11+
val commitHash = "39ca3a21a826ecb85c916d878f5a662a4e4e3ec4"
1212

1313
outputs.dir(testRepoDirectory)
1414

vcs/src/test/kotlin/com/legacycode/eureka/vcs/GitCommandTest.it should get blame output.approved.txt

Lines changed: 170 additions & 182 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vcs/src/test/kotlin/com/legacycode/eureka/vcs/GitCommandTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GitCommandTest {
2222

2323
// then
2424
assertThat(result.getOrNull())
25-
.isEqualTo(CommandResult(0, "5eb413173"))
25+
.isEqualTo(CommandResult(0, "39ca3a21a"))
2626
}
2727

2828
@Test

vcs/src/test/kotlin/com/legacycode/eureka/vcs/blame/BlameResultTest.group result by commits.approved.txt

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vcs/src/test/kotlin/com/legacycode/eureka/vcs/blame/BlameResultTest.group result by email.approved.txt

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vcs/src/test/kotlin/com/legacycode/eureka/vcs/blame/observablehq/OwnershipTreemapJsonTest.it should generate treemap data from blame result.approved.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,24 @@
22
"name": "PatientsEffectHandler.kt",
33
"children": [
44
{
5-
"name": "vinay@obvious.in",
6-
"size": 113,
7-
"percentage": 62.09
5+
"name": "code@vinaysshenoy.com",
6+
"size": 112,
7+
"percentage": 65.88
88
},
99
{
10-
"name": "sasikanth@obvious.in",
11-
"size": 63,
12-
"percentage": 34.62
10+
"name": "hello@sasikanth.dev",
11+
"size": 51,
12+
"percentage": 30.0
1313
},
1414
{
1515
"name": "58420800+janhavisinghh@users.noreply.github.com",
1616
"size": 6,
17-
"percentage": 3.3
17+
"percentage": 3.53
18+
},
19+
{
20+
"name": "siddhagarwal10@gmail.com",
21+
"size": 1,
22+
"percentage": 0.59
1823
}
1924
]
20-
}
25+
}

0 commit comments

Comments
 (0)