function UnishTestCase::bit_bucket

8.0.x UnishTestCase.php UnishTestCase::bit_bucket()
7.x UnishTestCase.php UnishTestCase::bit_bucket()
master UnishTestCase.php UnishTestCase::bit_bucket()

Borrowed from Drush. Checks operating system and returns supported bit bucket folder.

File

tests/Unish/UnishTestCase.php, line 139

Namespace

Unish

Class

UnishTestCase

Code

function bit_bucket() {
  if (!$this->is_windows()) {
    return '/dev/null';
  }
  else {
    return 'nul';
  }
}