No, that shouldn't be necessary.  The return result from the mutablebuffer
space method is the mutablebuffer itself, so that is equivalent to using
the ~~ method.  The failing test cases all have one thing in common, then
very strange characters in the string.  I suspect these are somehow getting
mangled due to some sort of code page issues, although where/how is really
a mystery to me. Can you try running this with the following replacement
for Test0039 and let us know the results?

::method 'test0039'
    res = .MutableBuffer~new(' §äè °üé')~space
    say "Original:" ' §äè °üé'~c2x
    say "Buffer:  " res~string~c2x
    self~assertSame('§äè °üé', res)


These particular tests are a little redundant, all they do is repeat
tests that are done elsewhere but using different characters, so I
don't have a problem with just deleting these :-)

Rick



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

> All -
>
> 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.
>
> Could someone confirm this for me? This may need to be modified in the
> non-failing tests as well.
>
> David Ashley
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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