Closed tgambet closed 10 years ago
Thanks! PR?
As previously stated though I might just drop pure Rhino...
So support for Rhino shell scripts would be simply dropped? Or does Trireme allows to execute them without adding node.js API (I might have misunderstood Trireme)?
In any case I think there are use cases where people would want to execute whatever Rhino script they have inside of sbt, so in my opinion it makes sense to keep that functionality.
Understood. Closing this then w.r.t. issue #23...
There is no test in RhinoSpec.scala that checks that JavaScripts exceptions are correctly caught, and as a matter of fact they are not.
Consider the following:
Since we are running a node.js script inside a Rhino engine we expect some exception to be caught, but the test fails. The exception is written on stdout (
Error: Module "console" not found
) but not inresult.error
.