Skip to content

Commit

Permalink
Added missing test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Schoenbauer committed Dec 1, 2016
1 parent add5e3f commit 08d724d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/DotNotation/ArrayDotNotationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,11 @@ public function testRemovePathNotFound() {
public function testRemovePathNotFoundShort() {
$this->_object->remove('level0');
}
/**
* @expectedException \DSchoenbauer\DotNotation\Exception\PathNotArrayException
*/
public function testRemovePathNotArray() {
$this->_object->remove('levelA.levelB.levelD');
}

}

0 comments on commit 08d724d

Please sign in to comment.