Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin committed Jan 13, 2025
1 parent 604bd02 commit 06a60fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x/rollapp/client/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ func TestCmdCreateRollapp(t *testing.T) {
require.Error(t, err)
assert.Contains(t, err.Error(), tc.errMsg)
} else {
require.Contains(t, err.Error(), "key not found") // we expect this error because we are not setting the key. anyway it means we passed validation
// we expect this error because we are not setting the key. anyway it means we passed validation
expected1 := "No directory provided for file keyring"
expected2 := "key not found"
ok := strings.Contains(err.Error(), expected1) || strings.Contains(err.Error(), expected2)
require.True(t, ok)
}
})
}
Expand Down

0 comments on commit 06a60fc

Please sign in to comment.