PHP Classes

File: Library/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt   Download  
File: Library/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 711 bytes
 

Contents

Class file image Download
--TEST-- GH-455: expectOutputString not working in strict mode --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = '--disallow-test-output'; $_SERVER['argv'][3] = 'Issue445Test'; $_SERVER['argv'][4] = __DIR__ . '/445/Issue445Test.php'; require __DIR__ . '/../../bootstrap.php'; PHPUnit_TextUI_Command::main(); ?> --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. ..F 3 / 3 (100%) Time: %s, Memory: %s There was 1 failure: 1) Issue445Test::testNotMatchingOutput Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'foo' +'bar' FAILURES! Tests: 3, Assertions: 3, Failures: 1.