diff options
author | pikomonde <32364823+pikomonde@users.noreply.github.com> | 2024-03-21 00:44:56 +0700 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-04-12 08:33:47 +0200 |
commit | e6ef1642fa0111e075fd14493b913cc4f7098db6 (patch) | |
tree | c5c31abe793c3b0b156d84afc28962f091fce9cb /pkg/commands/git_commands/stash_test.go | |
parent | 84333eebc3be466b23627f6709ad6b000ddd21f1 (diff) |
rename sha to hash
Diffstat (limited to 'pkg/commands/git_commands/stash_test.go')
-rw-r--r-- | pkg/commands/git_commands/stash_test.go | 2 |
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() |