function DiffOpTest::testReverse
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php \Drupal\Tests\Component\Diff\Engine\DiffOpTest::testReverse()
- 10 core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php \Drupal\Tests\Component\Diff\Engine\DiffOpTest::testReverse()
DiffOp::reverse() always throws an error.
@covers ::reverse
File
-
core/
tests/ Drupal/ Tests/ Component/ Diff/ Engine/ DiffOpTest.php, line 27
Class
- DiffOpTest
- Test DiffOp base class.
Namespace
Drupal\Tests\Component\Diff\EngineCode
public function testReverse() {
$this->expectException(Error::class);
$op = new DiffOp();
$result = $op->reverse();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.