You are here

public function DiffOpTest::testReverse in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php \Drupal\Tests\Component\Diff\Engine\DiffOpTest::testReverse()
  2. 9 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 26

Class

DiffOpTest
Test DiffOp base class.

Namespace

Drupal\Tests\Component\Diff\Engine

Code

public function testReverse() {
  $this
    ->expectError();
  $op = new DiffOp();
  $result = $op
    ->reverse();
}