Sha256: f04e7d72e3ea5c19c8f1e06820b68759c516e955c242099d68f67a3e811fd27b

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

# backtick_javascript: true

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

6 entries across 6 versions & 1 rubygems

Version Path
opal-1.8.3.rc1 spec/opal/core/exception_spec.rb
opal-1.8.2 spec/opal/core/exception_spec.rb
opal-1.8.1 spec/opal/core/exception_spec.rb
opal-1.8.0 spec/opal/core/exception_spec.rb
opal-1.8.0.beta1 spec/opal/core/exception_spec.rb
opal-1.8.0.alpha1 spec/opal/core/exception_spec.rb