Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DirWithUntrackedFile = NewIntegrationTest(NewIntegrationTestArgs{ Description: "When selecting a directory that contains an untracked file, we should not get an error", ExtraCmdArgs: "", Skip: false, SetupConfig: func(config *config.AppConfig) { config.UserConfig.Gui.ShowFileTree = true }, SetupRepo: func(shell *Shell) { shell.CreateDir("dir") shell.CreateFile("dir/file", "foo") shell.GitAddAll() shell.Commit("first commit") shell.CreateFile("dir/untracked", "bar") shell.UpdateFile("dir/file", "baz") }, Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) { assert.CommitCount(1) assert.MatchMainViewContent(NotContains("error: Could not access")) assert.MatchMainViewContent(Contains("baz")) }, })
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.