File: phpt-xfail.phpt

package info (click to toggle)
phpunit 13.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 52,300 kB
  • sloc: php: 106,902; xml: 2,228; makefile: 116; sh: 88
file content (10 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (6)
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