You are here

function assertStringMatchesFormat in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertStringMatchesFormat()

Asserts that a string matches a given format string.

@since Method available since Release 3.5.0

Parameters

string $format:

string $string:

string $message:

1 string reference to 'assertStringMatchesFormat'
PHPUnit_Extensions_PhptTestCase::run in vendor/phpunit/phpunit/src/Extensions/PhptTestCase.php
Runs a test and collects its result in a TestResult instance.

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 1384

Code

function assertStringMatchesFormat($format, $string, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertStringMatchesFormat', func_get_args());
}