You are here

public function Issue1335Test::testGlobalObjectWithBackSlashString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Regression/GitHub/1335/Issue1335Test.php \Issue1335Test::testGlobalObjectWithBackSlashString()

File

vendor/phpunit/phpunit/tests/Regression/GitHub/1335/Issue1335Test.php, line 58

Class

Issue1335Test
@runTestsInSeparateProcesses @preserveGlobalState enabled

Code

public function testGlobalObjectWithBackSlashString() {
  $this
    ->assertEquals((object) array(
    'foo' => 'back\\slash',
  ), $GLOBALS['globalObjectWithBackSlashString']);
}