1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Add simple comments to uncommented functions.

This commit is contained in:
BlakeMScurr
2018-11-30 11:04:08 +13:00
parent 5c70d2724b
commit 643cdd3461
10 changed files with 75 additions and 0 deletions

View File

@ -29,6 +29,7 @@ func newDummyAppConfig() *config.AppConfig {
return appConfig
}
// TestOSCommandRunCommandWithOutput is a function
func TestOSCommandRunCommandWithOutput(t *testing.T) {
type scenario struct {
command string
@ -56,6 +57,7 @@ func TestOSCommandRunCommandWithOutput(t *testing.T) {
}
}
// TestOSCommandRunCommand is a function
func TestOSCommandRunCommand(t *testing.T) {
type scenario struct {
command string
@ -76,6 +78,7 @@ func TestOSCommandRunCommand(t *testing.T) {
}
}
// TestOSCommandOpenFile is a function
func TestOSCommandOpenFile(t *testing.T) {
type scenario struct {
filename string
@ -126,6 +129,7 @@ func TestOSCommandOpenFile(t *testing.T) {
}
}
// TestOSCommandEditFile is a function
func TestOSCommandEditFile(t *testing.T) {
type scenario struct {
filename string
@ -255,6 +259,7 @@ func TestOSCommandEditFile(t *testing.T) {
}
}
// TestOSCommandQuote is a function
func TestOSCommandQuote(t *testing.T) {
osCommand := newDummyOSCommand()
@ -291,6 +296,7 @@ func TestOSCommandQuoteDoubleQuote(t *testing.T) {
assert.EqualValues(t, expected, actual)
}
// TestOSCommandUnquote is a function
func TestOSCommandUnquote(t *testing.T) {
osCommand := newDummyOSCommand()
@ -301,6 +307,7 @@ func TestOSCommandUnquote(t *testing.T) {
assert.EqualValues(t, expected, actual)
}
// TestOSCommandFileType is a function
func TestOSCommandFileType(t *testing.T) {
type scenario struct {
path string