File: phpt-xfail.phpt

package info (click to toggle)
phpunit 12.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 50,184 kB
  • sloc: php: 101,793; xml: 2,083; makefile: 124; sh: 99
file content (10 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
--TEST--
PHPT runner supports XFAIL section
--FILE--
<?php declare(strict_types=1);
{syntaxError}
echo "Should not see this";
--XFAIL--
Syntax Error in PHPT is supposed to fail
--EXPECT--
Should not see this