Sha256: 6cb43f2ccb1695408e89d04b9c2f393a8b90df344adce0d1aa120177971f8938

Contents?: true

Size: 208 Bytes

Versions: 27

Compression:

Stored size: 208 Bytes

Contents

require 'spec_helper'

describe "Native exception" do
  it "handles messages for native exceptions" do
    exception = `new Error("native message")`
    exception.message.should == "native message"
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
opal-1.7.4 spec/opal/core/exception_spec.rb
opal-1.7.3 spec/opal/core/exception_spec.rb
opal-1.7.2 spec/opal/core/exception_spec.rb
opal-1.7.1 spec/opal/core/exception_spec.rb
opal-1.7.0 spec/opal/core/exception_spec.rb
opal-1.7.0.rc1 spec/opal/core/exception_spec.rb
opal-1.6.1 spec/opal/core/exception_spec.rb
opal-1.6.0 spec/opal/core/exception_spec.rb
opal-1.6.0.rc1 spec/opal/core/exception_spec.rb
opal-1.6.0.alpha1 spec/opal/core/exception_spec.rb
opal-1.5.1 spec/opal/core/exception_spec.rb
opal-1.5.0 spec/opal/core/exception_spec.rb
opal-1.5.0.rc1 spec/opal/core/exception_spec.rb
opal-1.4.1 spec/opal/core/exception_spec.rb
opal-1.4.0 spec/opal/core/exception_spec.rb
opal-1.4.0.alpha1 spec/opal/core/exception_spec.rb
opal-1.3.2 spec/opal/core/exception_spec.rb
opal-1.3.1 spec/opal/core/exception_spec.rb
opal-1.3.0 spec/opal/core/exception_spec.rb
opal-1.3.0.rc1 spec/opal/core/exception_spec.rb