mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
16 lines
216 B
PHP
16 lines
216 B
PHP
--TEST--
|
|
Check for uv_cwd
|
|
--FILE--
|
|
<?php
|
|
$cwd = uv_cwd();
|
|
|
|
$expected = getcwd();
|
|
|
|
if ($cwd == $expected) {
|
|
echo "OK" . PHP_EOL;
|
|
} else {
|
|
echo "FAILED: expected {$expected}, but {$cwd}" . PHP_EOL;
|
|
|
|
}
|
|
--EXPECT--
|
|
OK |