Skip to content

Commit 2a72ee0

Browse files
committed
walletunlocker: fix typos in the tests
1 parent 3571934 commit 2a72ee0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

walletunlocker/service_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func openOrCreateTestMacStore(tempDir string, pw *[]byte,
140140
return store, nil
141141
}
142142

143-
// TestGenSeedUserEntropy tests that the gen seed method generates a valid
143+
// TestGenSeed tests that the gen seed method generates a valid
144144
// cipher seed mnemonic phrase and user provided source of entropy.
145145
func TestGenSeed(t *testing.T) {
146146
t.Parallel()
@@ -173,8 +173,8 @@ func TestGenSeed(t *testing.T) {
173173
require.NoError(t, err)
174174
}
175175

176-
// TestGenSeedInvalidEntropy tests that the gen seed method generates a valid
177-
// cipher seed mnemonic pass phrase even when the user doesn't provide its own
176+
// TestGenSeedGenerateEntropy tests that the gen seed method generates a valid
177+
// cipher seed mnemonic passphrase even when the user doesn't provide its own
178178
// source of entropy.
179179
func TestGenSeedGenerateEntropy(t *testing.T) {
180180
t.Parallel()
@@ -318,7 +318,7 @@ func TestInitWallet(t *testing.T) {
318318
require.Error(t, err)
319319
}
320320

321-
// TestInitWalletInvalidCipherSeed tests that if we attempt to create a wallet
321+
// TestCreateWalletInvalidEntropy tests that if we attempt to create a wallet
322322
// with an invalid cipher seed, then we'll receive an error.
323323
func TestCreateWalletInvalidEntropy(t *testing.T) {
324324
t.Parallel()
@@ -344,7 +344,7 @@ func TestCreateWalletInvalidEntropy(t *testing.T) {
344344
require.Error(t, err)
345345
}
346346

347-
// TestUnlockWallet checks that trying to unlock non-existing wallet fail, that
347+
// TestUnlockWallet checks that trying to unlock non-existing wallet fails, that
348348
// unlocking existing wallet with wrong passphrase fails, and that unlocking
349349
// existing wallet with correct passphrase succeeds.
350350
func TestUnlockWallet(t *testing.T) {
@@ -530,8 +530,8 @@ func TestChangeWalletPasswordNewRootKey(t *testing.T) {
530530
}
531531

532532
// TestChangeWalletPasswordStateless checks that trying to change the password
533-
// of an existing wallet that was initialized stateless works when when the
534-
// --stateless_init flat is set. Also checks that if no password is given,
533+
// of an existing wallet that was initialized stateless works when the
534+
// --stateless_init flag is set. Also checks that if no password is given,
535535
// the default password is used.
536536
func TestChangeWalletPasswordStateless(t *testing.T) {
537537
t.Parallel()

0 commit comments

Comments
 (0)