mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Run all builtins as plugins (#5536)
This commit is contained in:
@@ -29,7 +29,7 @@ func TestPluginListCommand_Run(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
"too_many_args",
|
||||
[]string{"foo"},
|
||||
[]string{"foo", "fizz"},
|
||||
"Too many arguments",
|
||||
1,
|
||||
},
|
||||
@@ -78,7 +78,7 @@ func TestPluginListCommand_Run(t *testing.T) {
|
||||
ui, cmd := testPluginListCommand(t)
|
||||
cmd.client = client
|
||||
|
||||
code := cmd.Run([]string{})
|
||||
code := cmd.Run([]string{"database"})
|
||||
if exp := 2; code != exp {
|
||||
t.Errorf("expected %d to be %d", code, exp)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user