Skip to content

Commit

Permalink
Minor test change for clarity
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Oct 23, 2023
1 parent 2a8637e commit ed4c0aa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package common_test

import (
"context"
"strings"
"testing"
"time"

Expand Down Expand Up @@ -83,7 +82,7 @@ func TestParseAndValidateCreateOptions(t *testing.T) {
setFunc: func(cmd *cobra.Command) error {
cellsFlag := cmd.Flags().Lookup("cells")
allCellsFlag := cmd.Flags().Lookup("all-cells")
if err := cellsFlag.Value.Set(strings.Join(cells, ",")); err != nil {
if err := cellsFlag.Value.Set("cella"); err != nil {
return err
}
cellsFlag.Changed = true
Expand Down

0 comments on commit ed4c0aa

Please sign in to comment.