public static function Drush_TestCase::is_windows

6.x drush_testcase.inc public static Drush_TestCase::is_windows()
4.x drush_testcase.inc public static Drush_TestCase::is_windows()
5.x drush_testcase.inc public static Drush_TestCase::is_windows()
2 calls to Drush_TestCase::is_windows()

File

tests/drush_testcase.inc, line 49

Class

Drush_TestCase

Code

public static function is_windows() {
  return (strtoupper(substr(PHP_OS, 0, 3)) == "WIN");
}