Skip to content

Commit

Permalink
commands: Remove the benchmark command
Browse files Browse the repository at this point in the history
It's not particulary useful, and when we start to get bug reports about it, it is easier to remove it.

Closes #5543
  • Loading branch information
bep committed Dec 20, 2018
1 parent 9cd54ca commit 35bfca3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 117 deletions.
115 changes: 0 additions & 115 deletions commands/benchmark.go

This file was deleted.

1 change: 0 additions & 1 deletion commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func (b *commandsBuilder) addAll() *commandsBuilder {
newEnvCmd(),
newConfigCmd(),
newCheckCmd(),
b.newBenchmarkCmd(),
newConvertCmd(),
b.newNewCmd(),
newListCmd(),
Expand Down
1 change: 0 additions & 1 deletion commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func TestCommandsExecute(t *testing.T) {
{nil, []string{sourceFlag}, ""},
{nil, []string{sourceFlag, "--renderToMemory"}, ""},
{[]string{"config"}, []string{sourceFlag}, ""},
{[]string{"benchmark"}, []string{sourceFlag, "-n=1"}, ""},
{[]string{"convert", "toTOML"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "toml")}, ""},
{[]string{"convert", "toYAML"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "yaml")}, ""},
{[]string{"convert", "toJSON"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "json")}, ""},
Expand Down

0 comments on commit 35bfca3

Please sign in to comment.