mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Fix staging/unstaging files containing "
in paths
This commit is contained in:
parent
e5ba0d9d9c
commit
64daf1310d
3 changed files with 1 additions and 18 deletions
|
@ -162,17 +162,6 @@ func TestOSCommandQuoteWindows(t *testing.T) {
|
|||
assert.EqualValues(t, expected, actual)
|
||||
}
|
||||
|
||||
// TestOSCommandUnquote is a function.
|
||||
func TestOSCommandUnquote(t *testing.T) {
|
||||
osCommand := NewDummyOSCommand()
|
||||
|
||||
actual := osCommand.Unquote(`hello "test"`)
|
||||
|
||||
expected := "hello test"
|
||||
|
||||
assert.EqualValues(t, expected, actual)
|
||||
}
|
||||
|
||||
// TestOSCommandFileType is a function.
|
||||
func TestOSCommandFileType(t *testing.T) {
|
||||
type scenario struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue