Skip to content

Commit a51eb22

Browse files
committed
asset: rename unit test TestDeriveGroupKey for clarity
Rename `TestDeriveGroupKey` to `TestGroupKeyDerivationInvalidAsset` to clarify that the test pertains to invalid assets and the inability to derive group keys from/for them.
1 parent 5bc4bdb commit a51eb22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

asset/group_key_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,9 @@ func TestDeriveGroupKeyV0(t *testing.T) {
598598
require.Error(t, err)
599599
}
600600

601-
// TestDeriveGroupKey tests that group key derivation fails for assets that are
602-
// not eligible to be group anchors.
603-
func TestDeriveGroupKey(t *testing.T) {
601+
// TestGroupKeyDerivationInvalidAsset ensures group key derivation fails
602+
// for assets that are not valid group anchors.
603+
func TestGroupKeyDerivationInvalidAsset(t *testing.T) {
604604
t.Parallel()
605605

606606
groupPriv := test.RandPrivKey()

0 commit comments

Comments
 (0)