Hello Erich!
Thank You for trying :-)

Unfortunately things got mixed up

The file separator test was run , resulting in 
  Line:   182
  Failed: assertEquals
    Expected: [[/Users/enrico/ooRexx.svn.testSuite/XXXXXXXX/Y/Z], 
identityHash="-4533781185"]
    Actual:   [[/Users/enrico/ooRexx.svn.testSuite/XXXXXXXX/Y\Z], 
identityHash="-4533779233"]


An the second test would run only for windows

but this worked,
First test skipped, second test run 


  thisSep = .File~separator
  subdir = .File~new("Y" || thisSep || "Z", f)

  -- verify the separator translation
  if .RexxInfo~platform~caselessStartsWith("Windows") then do
    othrSep = thisSep~translate("\/", "/\")
    self~assertEquals(f~absolutePath || othrSep || "Y" || othrSep || "Z", 
subdir~path)
  end

  -- verify the case sensitiveness
  if \.File~isCaseSensitive then do
      subdir2 = .File~new("y" || thisSep || "z", f)
      self~assertEquals(subdir, subdir2)
  end


Cheers
E 



> On 2 Mar 2019, at 20:02, Erich Steinböck <erich.steinbo...@gmail.com> wrote:
> 
> Hi Enrico,
> this should be fixed with [r11817]

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to