public function seeFileContentsEqual($text)
    {
        $file = str_replace("\r", '', $this->file);
        \PHPUnit\Framework\Assert::assertEquals($text, $file);
    }
public function seeFileContentsEqual($text)
    {
        $file = str_replace("\r", '', $this->file);
        \PHPUnit\Framework\Assert::assertEquals($text, $file);
    }
public function seeFileContentsEqual ( $ text ) { $ file = str_replace ( "\r" , '' , $ this -> file ) ; \ PHPUnit \ Framework \ Assert :: assertEquals ( $ text , $ file ) ; }
Checks the strict matching of file contents.
Unlike `seeInThisFile` will fail if file has something more than expected lines.
Better to use with HEREDOC strings.
Matching is done after removing "\r" chars from file content.

``` php
<?php
$I->openFile('process.pid');
$I->seeFileContentsEqual('3192');
?>
```

@param string $text
Checks the strict matching of file contents . Unlike seeInThisFile will fail if file has something more than expected lines . Better to use with HEREDOC strings . Matching is done after removing \ r chars from file content .