Skip to content

Commit

Permalink
Fix cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmajor-encrypt committed Mar 19, 2024
1 parent fedb767 commit 61ee07e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
func Test_Cli(t *testing.T) {
app := setup()
assert.NoError(t, app.Run([]string{"h"}))
assert.EqualValues(t, len(app.Commands), 4)
assert.EqualValues(t, len(app.Commands), 5)
assert.Equal(t, app.Name, "Xcm tools")

names := []string{"send", "parse", "tracker", "help"}
names := []string{"send", "parse", "tracker", "trackerBridge", "help"}
for i := 0; i < 4; i++ {
assert.Equal(t, app.Commands[i].Name, names[i])
}
Expand Down

0 comments on commit 61ee07e

Please sign in to comment.