Skip to content

Commit d5bcbcf

Browse files
committed
chore: fix linter issues
1 parent ed9a433 commit d5bcbcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datastore/memory_address_ref_store_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ func TestMemoryAddressRefStore_RecordsOrdering(t *testing.T) {
650650
require.NoError(t, err, "Failed to unmarshal store")
651651

652652
// verify the records are in the same order
653-
require.Equal(t, len(originalStore.Records), len(unmarshaledStore.Records),
653+
require.Len(t, len(originalStore.Records), len(unmarshaledStore.Records),
654654
"number of records should match after unmarshaling")
655655

656656
// compare each record to ensure order is maintained

datastore/memory_contract_metadata_store_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ func TestMemoryContractMetadataStore_RecordsOrdering(t *testing.T) {
570570
require.NoError(t, err, "Failed to unmarshal store")
571571

572572
// Verify the records are in the same order
573-
require.Equal(t, len(originalStore.Records), len(unmarshaledStore.Records),
573+
require.Len(t, len(originalStore.Records), len(unmarshaledStore.Records),
574574
"number of records should match after unmarshaling")
575575

576576
// Compare each record to ensure order is maintained

0 commit comments

Comments
 (0)