function SortTest::testFileExists

Same name in this branch
  1. 11.x core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::testFileExists()
Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::testFileExists()
  2. 10 core/tests/Drupal/Tests/PhpCs/SortTest.php \Drupal\Tests\PhpCs\SortTest::testFileExists()
  3. 10 core/tests/Drupal/Tests/CSpell/SortTest.php \Drupal\Tests\CSpell\SortTest::testFileExists()

Tests that the file exists.

File

core/tests/Drupal/Tests/CSpell/SortTest.php, line 31

Class

SortTest
Tests that the <a href="/api/drupal/core%21misc%21cspell%21dictionary.txt/11.x" title="…" class="local">dictionary.txt</a> file is properly sorted.

Namespace

Drupal\Tests\CSpell

Code

public function testFileExists() : void {
    $this->assertFileExists($this->filePath);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.