Sha256: 7176ff05d2094969649f9f1f8678df9a83e2fec3291976b444c39c7359ebf9e7

Contents?: true

Size: 821 Bytes

Versions: 7

Compression:

Stored size: 821 Bytes

Contents

class Test::Unit::TestCase
  #
  # @example
  #   class TestBase64
  #     unsupported :test_urlsafe_encode64
  #     unsupported :test_strict_encode64
  #   end
  #
  def self.unsupported name, message = 'unsupported'
    define_method name do
      skip message
    end
  end

  #
  # @example
  #   class TestBase64
  #     bug :test_strict_decode64
  #   end
  #
  def self.bug name, message = 'BUG'
    define_method name do
      skip message
    end
  end
end

class TestBase64
  bug :test_strict_decode64
  bug :test_urlsafe_decode64_unpadded
end

class TestCall
  # They work fine if `"a".sub! "b"` is replaced by `[].slice 1`
  unsupported :test_safe_call_block_command
  unsupported :test_safe_call_block_call
  unsupported :test_safe_call_block_call_brace
  unsupported :test_safe_call_block_call_command
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opal-1.2.0 test/opal/unsupported_and_bugs.rb
opal-1.2.0.beta1 test/opal/unsupported_and_bugs.rb
opal-1.1.1 test/opal/unsupported_and_bugs.rb
opal-1.1.1.rc1 test/opal/unsupported_and_bugs.rb
opal-1.1.0 test/opal/unsupported_and_bugs.rb
opal-1.1.0.rc1 test/opal/unsupported_and_bugs.rb
opal-0.11.0.rc1 test/opal/unsupported_and_bugs.rb