this patch adds method 'test015'
::method 'test015'
self~assertSame('xyyyy', .mutablebuffer~new('xxx')~replaceAt("yyyy", 2, )~string)
self~assertSame('xyyyyx', .mutablebuffer~new('xxx')~replaceAt("yyyy", 2, 1)~string)
self~assertSame('xxxyyyy', .mutablebuffer~new('xxx')~replaceAt("yyyy", 5, , '')~string)
self~assertSame('xxxyyyy', .mutablebuffer~new('xxx')~replaceAt("yyyy", 5, 9, '')~string)
self~assertSame('xxx', .mutablebuffer~new('xyyyyx')~replaceAt("x", 2, 4)~string)
go into oorexx/test/trunk
copy patch file there, apply with
patch -p2 <replaceAt.testGroup.diff
Anonymous
patch for test/trunk/ooRexx/base/class/MutableBuffer/replaceAt.testGroup
Thanks. I'll take a look at it.
It's a great help to have a test case for the bug. Thanks. I'll commit the patch tonight.