Skip to content

Commit 637264e

Browse files
committed
fix: removes duplicated destruct
1 parent 67525c2 commit 637264e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/PendingTest.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class PendingTest
2323
*/
2424
public function __destruct()
2525
{
26-
$this->build();
26+
$this->compile();
2727
}
2828

2929
/**
@@ -61,12 +61,4 @@ public function compile(): void
6161

6262
expect($result->ok())->toBeTrue();
6363
}
64-
65-
/**
66-
* Ends the chain and builds the test result.
67-
*/
68-
public function __destruct()
69-
{
70-
$this->compile();
71-
}
7264
}

0 commit comments

Comments
 (0)