Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
elsesiy committed Aug 7, 2024
1 parent 496d4e0 commit 67e982d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/view-secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"bytes"
"errors"
"fmt"
"strings"
"testing"
Expand Down Expand Up @@ -30,7 +31,7 @@ func TestValidate(t *testing.T) {
args []string
err error
}{
"args insufficient length": {opts, []string{"1", "2", "3"}, ErrInsufficientArgs},
"args insufficient length": {opts, []string{"1", "2", "3"}, errors.New("accepts 2 arg(s), received 3")},
"valid args": {opts, []string{"test", "key"}, nil},
}

Expand Down

0 comments on commit 67e982d

Please sign in to comment.