You are here

function IdenticalValueTokenSpec::it_generates_single_line_representation_for_multiline_string in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/IdenticalValueTokenSpec.php \spec\Prophecy\Argument\Token\IdenticalValueTokenSpec::it_generates_single_line_representation_for_multiline_string()

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/IdenticalValueTokenSpec.php, line 93

Class

IdenticalValueTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_generates_single_line_representation_for_multiline_string() {
  $this
    ->beConstructedWith("some\nstring");
  $this
    ->__toString()
    ->shouldReturn('identical("some\\nstring")');
}