diff options
author | AzraelSec <me@azraelsec.sh> | 2023-12-20 20:51:39 +0100 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2023-12-27 11:21:49 +0100 |
commit | bc330b8ff3ef7533bc1f96c7d2b309eaf94adf61 (patch) | |
tree | a55d85c53fae10731c34e5d9ea16945d5ef948f6 /pkg/commands/git_commands/stash_loader_test.go | |
parent | 7f36494eb2710588dc08b2dd110608f90764fd87 (diff) |
feat: add age on stash lines
Diffstat (limited to 'pkg/commands/git_commands/stash_loader_test.go')
-rw-r--r-- | pkg/commands/git_commands/stash_loader_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/git_commands/stash_loader_test.go b/pkg/commands/git_commands/stash_loader_test.go index d48b83be7..393b4d4b9 100644 --- a/pkg/commands/git_commands/stash_loader_test.go +++ b/pkg/commands/git_commands/stash_loader_test.go @@ -22,14 +22,14 @@ func TestGetStashEntries(t *testing.T) { "No stash entries found", "", oscommands.NewFakeRunner(t). - ExpectGitArgs([]string{"stash", "list", "-z", "--pretty=%gs"}, "", nil), + ExpectGitArgs([]string{"stash", "list", "-z", "--pretty=%ct|%gs"}, "", nil), []*models.StashEntry{}, }, { "Several stash entries found", "", oscommands.NewFakeRunner(t). - ExpectGitArgs([]string{"stash", "list", "-z", "--pretty=%gs"}, + ExpectGitArgs([]string{"stash", "list", "-z", "--pretty=%ct|%gs"}, "WIP on add-pkg-commands-test: 55c6af2 increase parallel build\x00WIP on master: bb86a3f update github template\x00", nil, ), |