Skip to content

Commit 036df04

Browse files
committed
fix number of scenarii being overridden
1 parent e9d9457 commit 036df04

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

blackbox.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
};
1111

1212
Application::new($argv)
13-
->when(
14-
\getenv('BLACKBOX_SET_SIZE') !== false,
15-
static fn(Application $app) => $app->scenariiPerProof((int) \getenv('BLACKBOX_SET_SIZE')),
16-
)
1713
->disableMemoryLimit()
1814
->codeCoverage(
1915
CodeCoverage::of(
@@ -28,5 +24,9 @@
2824
false => 100,
2925
default => 1,
3026
})
27+
->when(
28+
\getenv('BLACKBOX_SET_SIZE') !== false,
29+
static fn(Application $app) => $app->scenariiPerProof((int) \getenv('BLACKBOX_SET_SIZE')),
30+
)
3131
->tryToProve(Load::everythingIn(__DIR__.'/proofs/'))
3232
->exit();

0 commit comments

Comments
 (0)