Skip to content

Commit

Permalink
Fix TestValidators_String
Browse files Browse the repository at this point in the history
  • Loading branch information
msmania committed Dec 22, 2023
1 parent c7b8fd8 commit 8591f71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/nodes/types/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ package types

import (
"fmt"
"github.com/stretchr/testify/assert"
"github.com/tendermint/go-amino"
"math/rand"
"reflect"
"testing"
"time"

"github.com/pokt-network/pocket-core/crypto"
sdk "github.com/pokt-network/pocket-core/types"
"github.com/stretchr/testify/assert"
"github.com/tendermint/go-amino"
abci "github.com/tendermint/tendermint/abci/types"
tmtypes "github.com/tendermint/tendermint/types"
)
Expand Down Expand Up @@ -1156,6 +1156,7 @@ func TestValidators_String(t *testing.T) {
}{
{"String Test", v, fmt.Sprintf("Address:\t\t%s\nPublic Key:\t\t%s\nJailed:\t\t\t%v\nStatus:\t\t\t%s\nTokens:\t\t\t%s\n"+
"ServiceUrl:\t\t%s\nChains:\t\t\t%v\nUnstaking Completion Time:\t\t%v\nOutput Address:\t\t%s"+
"\nReward Delegators:\t\t"+
"\n----",
sdk.Address(pub.Address()), pub.RawString(), false, sdk.Staked, sdk.ZeroInt(), "https://www.google.com:443", []string{"0001"}, time.Unix(0, 0).UTC(), "",
)},
Expand Down

0 comments on commit 8591f71

Please sign in to comment.