Frege/frege-interpreter

script engine testOperator test failing under windows

Closed this issue · 2 comments

The test testOperator in FregeScriptEngineTest.java fails under windows on lines 129, 130 and 131 with the following error messages respectively:

line 129:
javax.script.ScriptException: [ERROR: 4]: E .fr:4: unexpected token "infix" while trying to parse a
function or pattern binding
[ERROR: 4]: E .fr:4: unexpected error token ³ while trying to parse unary
expression

line 130:
javax.script.ScriptException: [ERROR: 3]: E .fr:3: can't resolve x, did you mean ! perhaps?
at frege.scriptengine.FregeScriptEngine.toEvalResult(FregeScriptEngine.java:116)

line 131:
javax.script.ScriptException: [ERROR: 4]: E .fr:4: can't resolve ³, did you mean ! perhaps?
[ERROR: 4]: E .fr:4: can't resolve Â, did you mean ! perhaps?

This test passes on the Travis CI build: https://travis-ci.org/Frege/frege-interpreter.

Could be related to Frege/frege-gradle-plugin#9.

I used apache commons to only run this test under a unix like OS. Published artifact as 1.1.1.