Skip to content

Commit

Permalink
Update DemosTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
abbadon1334 committed Aug 9, 2019
1 parent 0a8ab9c commit f89b1e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/DemosTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ class DemosTest extends TestCase
{
public function tearDown(): void
{
@unlink(__DIR__.'/../demos/test.log');
if (file_exists(__DIR__.'/../demos/test.log') {
unlink(__DIR__.'/../demos/test.log');
}
}

/**
Expand Down

0 comments on commit f89b1e7

Please sign in to comment.