diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2023-08-28 13:09:55 +0200 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2023-09-05 13:55:30 +0200 |
commit | 7774fe0ab37bb07832ef7349a3f7c080f9d908e1 (patch) | |
tree | 3dde7e09c8f6ca80de2e0ec01b4c943c92a6d01d /pkg/commands/git_commands/stash_test.go | |
parent | f7db17f7d05280d83d57f7266dbc4e9d3ba2c48a (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.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 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() |