Skip to content

Commit

Permalink
Enable now-working imaginary support in compiler spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 1, 2014
1 parent b2b093a commit 8a7b270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/compiler/general_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 8a7b270

Please sign in to comment.