We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87ec97 commit 66d6822Copy full SHA for 66d6822
test/StringBuilderTest.php
@@ -92,6 +92,13 @@ public function testBuilderInsertFail3()
92
$builder->insert(0, 'a');
93
}
94
95
+ public function testBuilderInsertFail4()
96
+ {
97
+ $this->setExpectedException(get_class(new \InvalidArgumentException()));
98
+ $builder = new StringBuilder();
99
+ $builder->insert(-1, 'a');
100
+ }
101
+
102
public function testBuilderReplaceFail1()
103
{
104
$this->setExpectedException(get_class(new \InvalidArgumentException()));
0 commit comments