Skip to content

Commit d7105b1

Browse files
committed
removing bloating white spaces
1 parent 30d95ee commit d7105b1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

storage/procedure/cluster_test.go

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,10 @@ func TestDisconnectedFinalizedBlock(t *testing.T) {
132132
// A ← B ← C
133133
// ↖ D
134134
func constructState(t *testing.T, db storage.DB, lctx lockctx.Proof) (blockA, blockB, blockC, blockD *cluster.Block) {
135-
// Create block A as the root
136-
blockA = unittest.ClusterBlockFixture()
137-
138-
// Create block B as a child of A
139-
blockB = unittest.ClusterBlockFixture(unittest.ClusterBlock.WithParent(blockA))
140-
141-
// Create block C as a child of B
142-
blockC = unittest.ClusterBlockFixture(unittest.ClusterBlock.WithParent(blockB))
143-
144-
// Create block D as a child of A (creating a fork)
145-
blockD = unittest.ClusterBlockFixture(unittest.ClusterBlock.WithParent(blockA))
135+
blockA = unittest.ClusterBlockFixture() // Create block A as the root
136+
blockB = unittest.ClusterBlockFixture(unittest.ClusterBlock.WithParent(blockA)) // Create block B as a child of A
137+
blockC = unittest.ClusterBlockFixture(unittest.ClusterBlock.WithParent(blockB)) // Create block C as a child of B
138+
blockD = unittest.ClusterBlockFixture(unittest.ClusterBlock.WithParent(blockA)) // Create block D as a child of A (creating a fork)
146139

147140
// Store all blocks
148141
for _, b := range []*cluster.Block{blockA, blockB, blockC, blockD} {

0 commit comments

Comments
 (0)