Sha256: 83602d2b38bb96b6bb622d8aa8edd49f2e27ce7e3c11243f64a2b3e01caef917

Contents?: true

Size: 270 Bytes

Versions: 33

Compression:

Stored size: 270 Bytes

Contents

require 'spec_helper'
require 'opal-parser'

describe Opal::Compiler do
  describe "unicode support" do
    it 'can compile code containing Unicode characters' do
      -> { Opal::Compiler.new("'こんにちは'; p 1").compile }.should_not raise_error
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
opal-1.8.3.rc1 spec/opal/compiler/unicode_spec.rb
opal-1.8.2 spec/opal/compiler/unicode_spec.rb
opal-1.8.1 spec/opal/compiler/unicode_spec.rb
opal-1.8.0 spec/opal/compiler/unicode_spec.rb
opal-1.8.0.beta1 spec/opal/compiler/unicode_spec.rb
opal-1.7.4 spec/opal/compiler/unicode_spec.rb
opal-1.8.0.alpha1 spec/opal/compiler/unicode_spec.rb
opal-1.7.3 spec/opal/compiler/unicode_spec.rb
opal-1.7.2 spec/opal/compiler/unicode_spec.rb
opal-1.7.1 spec/opal/compiler/unicode_spec.rb
opal-1.7.0 spec/opal/compiler/unicode_spec.rb
opal-1.7.0.rc1 spec/opal/compiler/unicode_spec.rb
opal-1.6.1 spec/opal/compiler/unicode_spec.rb
opal-1.6.0 spec/opal/compiler/unicode_spec.rb
opal-1.6.0.rc1 spec/opal/compiler/unicode_spec.rb
opal-1.6.0.alpha1 spec/opal/compiler/unicode_spec.rb
opal-1.5.1 spec/opal/compiler/unicode_spec.rb
opal-1.5.0 spec/opal/compiler/unicode_spec.rb
opal-1.5.0.rc1 spec/opal/compiler/unicode_spec.rb
opal-1.4.1 spec/opal/compiler/unicode_spec.rb