On Fri, Jan 31, 2014 at 8:44 AM, David Ashley <w.david.ash...@gmail.com>wrote:

David  I wonder if you meant to send this to the devel list rather than the
users list?


>
> I think I found the problem with the failing MutableBuffer tests.
>
> Each of the failing test has a clause at the end that is not correct.
> The bad clause is "~space(2)". I think what is supposed to be there
> instead is "~~space(2)". Note the double twiddles.
>

I don't think so.  I think a single twiddle is correct.

.MutableBuffer~new('')~space(2)

MutableBuffer~new returns a mutable buffer object.  Using a single twiddle
invokes the space method on that object.  This is no different than;

b = MutableBuffer~new('')
b~space(2)

Plus, not all the failing tests have ~space(2).  In you log this test
failed:

[failure] [20140131 10:18:27.852449]
  svn:    r8237   Change date: 2012-08-21 22:02:00 +0200
  Test:   TEST0039
  Class:  MutableBuffer_spaceMethod.testGroup

File:   /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
  Line:   181
  Failed: assertSame
    Expected: [[§äè °üé], identityHash="17525707155492"]
    Actual:   [[§��è °��é], identityHash="17525569391618"]


::method 'test0039'
    self~assertSame('§äè °üé', .MutableBuffer~new(' §äè
°üé')~space)

--
Mark Miesfeld
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to