diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-05-17 12:40:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 12:40:40 -0700 |
commit | 11cbb597471127c1b29e78e6cad0a1a4d93ea24c (patch) | |
tree | 0eceb950872c7234348f0b41d4492073908840d0 /cmd/commands/exec_command_test.go | |
parent | 1f6c271b3bedd6656ae7155714423b1b39a669c1 (diff) | |
download | chat-11cbb597471127c1b29e78e6cad0a1a4d93ea24c.tar.gz chat-11cbb597471127c1b29e78e6cad0a1a4d93ea24c.tar.bz2 chat-11cbb597471127c1b29e78e6cad0a1a4d93ea24c.zip |
Renaming platform binary to mattermost. (#8801)
Diffstat (limited to 'cmd/commands/exec_command_test.go')
-rw-r--r-- | cmd/commands/exec_command_test.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cmd/commands/exec_command_test.go b/cmd/commands/exec_command_test.go deleted file mode 100644 index 79e65fe83..000000000 --- a/cmd/commands/exec_command_test.go +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -package commands - -import ( - "flag" - "testing" - - "github.com/stretchr/testify/require" - - "github.com/mattermost/mattermost-server/cmd" -) - -func TestExecCommand(t *testing.T) { - if filter := flag.Lookup("test.run").Value.String(); filter != "ExecCommand" { - t.Skip("use -run ExecCommand to execute a command via the test executable") - } - cmd.RootCmd.SetArgs(flag.Args()) - require.NoError(t, cmd.RootCmd.Execute()) -} |