-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
Milestone
Description
The failing Opal build: https://travis-ci.org/opal/opal/jobs/114673459#L372
The failing specs have been added recently, also maybe it's just a matter of setting the correct locale env vars as in #2204
Environment
$ java -Xmx32m -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
$ javac -J-Xmx32m -version
javac 1.7.0_76
$ ruby --version
jruby: warning: unknown property jruby.cext.enabled
jruby 9.1.0.0-SNAPSHOT (2.3.0) 2016-03-09 5b08612 Java HotSpot(TM) 64-Bit Server VM 24.76-b04 on 1.7.0_76-b13 +jit [linux-amd64]
$ rvm --version
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ bundle --version
jruby: warning: unknown property jruby.cext.enabled
Bundler version 1.6.9
$ gem --version
jruby: warning: unknown property jruby.cext.enabled
2.4.8Expected/Actual Behavior
1) Opal::Parser parses unicode local variables
Failure/Error: parsed("λ = 1").should == [:lasgn, :λ, [:int, 1]]
expected: [:lasgn, :?, [:int, 1]]
got: (:lasgn, :λ, (:int, 1)) (using ==)
# ./spec/lib/parser/variables_spec.rb:106:in `block in (root)'
2) Opal::Parser parses unicode constants
Failure/Error: parsed("FOOλ = 1").should == [:cdecl, :FOOλ, [:int, 1]]
expected: [:cdecl, :FOO?, [:int, 1]]
got: (:cdecl, :FOOλ, (:int, 1)) (using ==)
# ./spec/lib/parser/variables_spec.rb:102:in `block in (root)'Reactions are currently unavailable