From 160982dcd51e88470819b3f2be7c27fe0b12715c Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Tue, 30 May 2017 18:38:17 +0900 Subject: [PATCH] ErrorsTest - placeholder for tests against inline assertions --- phpunit.xml.dist | 4 ++++ tests/Pipeline/ErrorsTest.php | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/Pipeline/ErrorsTest.php diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 03b4792..1d108da 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -13,6 +13,10 @@ + + + + diff --git a/tests/Pipeline/ErrorsTest.php b/tests/Pipeline/ErrorsTest.php new file mode 100644 index 0000000..fcaa4dc --- /dev/null +++ b/tests/Pipeline/ErrorsTest.php @@ -0,0 +1,21 @@ +markTestSkipped("Requires internal assertions"); + } + } + + public function testAssertFalse() + { + $this->expectException(\AssertionError::class); + assert(false); + } +}