Skip to content

Commit e43b802

Browse files
committed
fix unittest assert order
1 parent bd8a93b commit e43b802

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

module/executiondatasync/execution_data/execution_data_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ func TestBlockExecutionDataHelpers(t *testing.T) {
2727
expectedSystemCollection := expectedSystemChunk.Collection
2828

2929
t.Run("StandardChunks", func(t *testing.T) {
30-
assert.Equal(t, blockData.StandardChunks(), expectedStardardChunks)
30+
assert.Equal(t, expectedStardardChunks, blockData.StandardChunks())
3131
})
3232

3333
t.Run("StandardCollections", func(t *testing.T) {
34-
assert.Equal(t, blockData.StandardCollections(), expectedStandardCollections)
34+
assert.Equal(t, expectedStandardCollections, blockData.StandardCollections())
3535
})
3636

3737
t.Run("SystemChunk", func(t *testing.T) {
38-
assert.Equal(t, blockData.SystemChunk(), expectedSystemChunk)
38+
assert.Equal(t, expectedSystemChunk, blockData.SystemChunk())
3939
})
4040

4141
t.Run("SystemCollection", func(t *testing.T) {
42-
assert.Equal(t, blockData.SystemCollection(), expectedSystemCollection)
42+
assert.Equal(t, expectedSystemCollection, blockData.SystemCollection())
4343
})
4444
}
4545

0 commit comments

Comments
 (0)