function UnitUnishTestCase::drush_major_version

8.0.x UnitUnishTestCase.php UnitUnishTestCase::drush_major_version()
7.x UnitUnishTestCase.php UnitUnishTestCase::drush_major_version()
master UnitUnishTestCase.php UnitUnishTestCase::drush_major_version()
1 call to UnitUnishTestCase::drush_major_version()
commandUnitCase::testCommandVersionSpecific in tests/commandUnitTest.php
Assure that matching version-specific command files are loaded and others are ignored.

File

tests/Unish/UnitUnishTestCase.php, line 39

Namespace

Unish

Class

UnitUnishTestCase
Base class for Drush unit tests

Code

function drush_major_version() {
  return DRUSH_MAJOR_VERSION;
}