Skip to content

Commit 958853a

Browse files
fix: remove dead jiraBefore assignment (ineffassign)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2c62f04 commit 958853a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

internal/git/rain_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,8 @@ func TestRainRepository_MainlineMode_UserPatternsExtendMainline(t *testing.T) {
277277
testutil.RunGitCmd(t, peerDir, "commit", "-m", "jira advance")
278278
testutil.RunGitCmd(t, peerDir, "push", "origin", "JIRA-123")
279279

280-
testutil.RunGitCmd(t, repo.Path(), "checkout", defaultBranch)
281-
jiraBefore := testutil.GetCurrentSHA(t, repo.Path())
282280
testutil.RunGitCmd(t, repo.Path(), "checkout", "JIRA-123")
283-
jiraBefore = testutil.GetCurrentSHA(t, repo.Path())
281+
jiraBefore := testutil.GetCurrentSHA(t, repo.Path())
284282
testutil.RunGitCmd(t, repo.Path(), "checkout", defaultBranch)
285283

286284
result, err := RainRepository(repo.Path(), RainOptions{

0 commit comments

Comments
 (0)