Skip to content

Commit

Permalink
Added test.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Jul 7, 2017
1 parent e2d1dd4 commit 4fcb011
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/TH/Lock/FileLockSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,13 @@ public function it_can_acquire_then_release_and_acquire_again()

$this->release();
}

public function it_does_not_throw_when_lock_file_does_not_exists()
{
$this->acquire();

unlink($this->lock_file);

$this->release();
}
}

0 comments on commit 4fcb011

Please sign in to comment.