You are here

public function ExporterTest::testNonBinaryStringExport in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/exporter/tests/ExporterTest.php \SebastianBergmann\Exporter\ExporterTest::testNonBinaryStringExport()

@dataProvider provideNonBinaryMultibyteStrings

File

vendor/sebastian/exporter/tests/ExporterTest.php, line 316

Class

ExporterTest
@covers SebastianBergmann\Exporter\Exporter

Namespace

SebastianBergmann\Exporter

Code

public function testNonBinaryStringExport($value, $expectedLength) {
  $this
    ->assertRegExp("~'.{{$expectedLength}}'\$~s", $this->exporter
    ->export($value));
}