Macoslib - "Test in Cocoa module failed:" 2014R3

Hello,

I downloaded Macoslib - Nov 11 version and ran macoslib.rbvcp, it compiled but when I launch it I got this message…

“Test in Cocoa module failed:”

How can I get it to run in Cocoa in 2014R3?

Thanks.

Lennox

Petition the macoslib maintainers to fix it
I can see WHAT test is failing but cant say what the answer is as to why or what the solution is
This test in App.TestCoreFoundation fails

pTestAssert url.NetLocation = "localhost"

[quote=153313:@Norman Palardy]Petition the macoslib maintainers to fix it
I can see WHAT test is failing but cant say what the answer is as to why or what the solution is
This test in App.TestCoreFoundation fails

pTestAssert url.NetLocation = "localhost"

It’s a faulty assumption in the macoslib test case and is documented in this Apple release note:

[quote]The “file” URL scheme is defined so that no authority, an empty host, and “localhost” all mean the end-user’s machine. To reduce memory use, file URL objects created with file system paths or from file system representation no longer include the host string “localhost”.

This change also means -host no longer returns the string “localhost” for file URLs and will instead return nil.[/quote]

Click twice resume and the app runs. It is annoying, though.

OK Thanks.

Lennox