summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/stash_test.go
diff options
context:
space:
mode:
authorpikomonde <32364823+pikomonde@users.noreply.github.com>2024-03-21 00:44:56 +0700
committerStefan Haller <stefan@haller-berlin.de>2024-04-12 08:33:47 +0200
commite6ef1642fa0111e075fd14493b913cc4f7098db6 (patch)
treec5c31abe793c3b0b156d84afc28962f091fce9cb /pkg/commands/git_commands/stash_test.go
parent84333eebc3be466b23627f6709ad6b000ddd21f1 (diff)
rename sha to hash
Diffstat (limited to 'pkg/commands/git_commands/stash_test.go')
-rw-r--r--pkg/commands/git_commands/stash_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_commands/stash_test.go b/pkg/commands/git_commands/stash_test.go
index 6954a3cf8..3f112cd0c 100644
--- a/pkg/commands/git_commands/stash_test.go
+++ b/pkg/commands/git_commands/stash_test.go
@@ -91,7 +91,7 @@ func TestStashSha(t *testing.T) {
ExpectGitArgs([]string{"rev-parse", "refs/stash@{5}"}, "14d94495194651adfd5f070590df566c11d28243\n", nil)
instance := buildStashCommands(commonDeps{runner: runner})
- sha, err := instance.Sha(5)
+ sha, err := instance.Hash(5)
assert.NoError(t, err)
assert.Equal(t, "14d94495194651adfd5f070590df566c11d28243", sha)
runner.CheckForMissingCalls()