Port ExceptionHandler from old Aitemu and created main class.
This commit is contained in:
parent
efb23a1782
commit
b8b2a0561b
2 changed files with 3 additions and 1 deletions
|
@ -2,3 +2,5 @@
|
|||
namespace Misuzu;
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
Application::start()->debug(IO\Directory::exists(__DIR__ . '/vendor/phpunit/phpunit'));
|
||||
|
|
|
@ -42,7 +42,7 @@ class FileSystemTest extends TestCase
|
|||
|
||||
public function testWriteFile()
|
||||
{
|
||||
$file = new FileStream(WORKING_DIR . '/file', FileStream::MODE_TRUNCATE, false);
|
||||
$file = new FileStream(WORKING_DIR . '/file', FileStream::MODE_TRUNCATE);
|
||||
$this->assertInstanceOf(FileStream::class, $file);
|
||||
|
||||
$file->write('misuzu');
|
||||
|
|
Loading…
Add table
Reference in a new issue