Skip to content

Commit

Permalink
Use t.Fatal instead of panic
Browse files Browse the repository at this point in the history
  • Loading branch information
gligneul committed Jul 12, 2024
1 parent 1d5ba38 commit ea18641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system_tests/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (b *NodeBuilder) BuildL1(t *testing.T) {

func (b *NodeBuilder) BuildL2OnL1(t *testing.T) func() {
if b.L1 == nil {
panic("must build L1 before building L2")
t.Fatal("must build L1 before building L2")
}
b.L2 = NewTestClient(b.ctx)

Expand Down

0 comments on commit ea18641

Please sign in to comment.