summaryrefslogtreecommitdiff
path: root/cmd/rr/command_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/command_test.go')
-rw-r--r--cmd/rr/command_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/command_test.go b/cmd/rr/command_test.go
index 0e111f4b..84eef9d7 100644
--- a/cmd/rr/command_test.go
+++ b/cmd/rr/command_test.go
@@ -11,7 +11,7 @@ import (
)
func Test_Main(t *testing.T) {
- os.Args = []string{"", "--help"}
+ os.Args = []string{"rr", "--help"}
exitFn = func(code int) { assert.Equal(t, 0, code) }
r, w, err := os.Pipe()
@@ -30,7 +30,7 @@ func Test_Main(t *testing.T) {
}
func Test_MainWithoutCommands(t *testing.T) {
- os.Args = []string{""}
+ os.Args = []string{"rr"}
exitFn = func(code int) { assert.Equal(t, 0, code) }
r, w, err := os.Pipe()