Skip to content
Permalink
Browse files
Enable now-working imaginary support in compiler spec.
  • Loading branch information
headius committed Dec 1, 2014
1 parent b2b093a commit 8a7b2708b895a5e730b1247112ebcd5b477386b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/compiler/general_spec.rb
@@ -108,7 +108,7 @@ def compile_run(src, filename, line)
run("1r") {|result| expect(result).to eq (Rational(1, 1))}
run("1.1r") {|result| expect(result).to eq (Rational(11, 10))}
run("1i") {|result| expect(result).to eq (Complex(0, 1))}
pending("needs parser support") { run("1.1i") {|result| expect(result).to eq (Complex(0, 1.1))} }
run("1.1i") {|result| expect(result).to eq (Complex(0, 1.1))}
end

it "compiles interpolated strings" do

0 comments on commit 8a7b270

Please sign in to comment.