Re: [Ironruby-core] Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)

2011-05-11 Thread Tomas Matousek
I meant Ruby mspec tests located in Languages\Ruby\Tests\mspec\rubyspec\core\string (for strings). You might find they are already written but disabled. In that case remove the corresponding entries from tags: Languages\Ruby\Tests\mspec\ironruby-tags-19\core\string You can find more on mspec her

Re: [Ironruby-core] Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)

2011-05-11 Thread Roberto Perez
Ok I'll add some tests to check the functionality of this commit. I was trying to add one, but i'm having some problems passing the same "pattern string" due to the difference between ruby syntax and c# one. (As the tests are written in c#) I'll tell you as soon as I have the test done. Cheers

Re: [Ironruby-core] Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)

2011-05-11 Thread Tomas Matousek
I'll take a look. Could you add some tests to the specs, unless there already are some? Let me know if you have any questions. Thanks, Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Roberto Perez Sent: Wednesday, May 11, 2011 3:56 AM To

[Ironruby-core] Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)

2011-05-11 Thread Roberto Perez
Hi, I committed in my fork a very small change to solve the bug which is in http://ironruby.codeplex.com/workitem/5426 The commit is in: https://github.com/robjperez/main/commit/7d94882990bc80504a78c7ed9ea989e31b8e19ed The problem was inside the range detector in the delete method. When it finds