Skip to content

Commit 266487d

Browse files
committed
Generate and execute assertion code when running tests
Because types are now sort of heavily relying on `assert()`s so let's also run tests with those checks actually enabled. https://www.php.net/ini.core#ini.zend.assertions
1 parent 3a8224b commit 266487d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ psalm:
4848
vendor/bin/psalm.phar
4949

5050
tester:
51-
vendor/nette/tester/src/tester -s -c tests/php-unix.ini --colors 1 --coverage temp/coverage.html --coverage-src src/ tests/
51+
vendor/nette/tester/src/tester -s -c tests/php-unix.ini -d zend.assertions=1 --colors 1 --coverage temp/coverage.html --coverage-src src/ tests/
5252

5353
tester-include-skipped:
5454
TEST_CASE_RUNNER_INCLUDE_SKIPPED=1 \

0 commit comments

Comments
 (0)