summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/stash_test.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-08-28 13:09:55 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-09-05 13:55:30 +0200
commit7774fe0ab37bb07832ef7349a3f7c080f9d908e1 (patch)
tree3dde7e09c8f6ca80de2e0ec01b4c943c92a6d01d /pkg/commands/git_commands/stash_test.go
parentf7db17f7d05280d83d57f7266dbc4e9d3ba2c48a (diff)
Move diff context size from UserConfig to AppState
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 651430ab8..846c493ee 100644
--- a/pkg/commands/git_commands/stash_test.go
+++ b/pkg/commands/git_commands/stash_test.go
@@ -134,9 +134,9 @@ func TestStashStashEntryCmdObj(t *testing.T) {
s := s
t.Run(s.testName, func(t *testing.T) {
userConfig := config.GetDefaultConfig()
- userConfig.Git.DiffContextSize = s.contextSize
appState := &config.AppState{}
appState.IgnoreWhitespaceInDiffView = s.ignoreWhitespace
+ appState.DiffContextSize = s.contextSize
instance := buildStashCommands(commonDeps{userConfig: userConfig, appState: appState})
cmdStr := instance.ShowStashEntryCmdObj(s.index).Args()