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 82853d0 commit ef202c8Copy full SHA for ef202c8
test/SimpleStringBuilderTest.php
@@ -239,4 +239,13 @@ public function testBuilderBuildSubstringFail2()
239
->buildSubstring(0, array());
240
}
241
242
+ public function testBuilderBuildIndexOfFail()
243
+ {
244
+ $this->setExpectedException(get_class(new \InvalidArgumentException()));
245
+ $builder = new SimpleStringBuilder();
246
+ $builder
247
+ ->append('ab')
248
+ ->indexOf('');
249
+ }
250
+
251
0 commit comments