Sha256: 79b3a0a523514202e0b05dc775026f492cba75bf45b19222f75cffb6ba782089

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

require 'test_helper'

module Trollop
  class VersionNeededTest < ::MiniTest::Test
    def test_class
      assert_kind_of Exception, vn("message")
    end

    def test_message
      assert "message", vn("message").message
    end

    private

    def vn(*args)
      VersionNeeded.new(*args)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trollop-2.9.10 test/trollop/version_needed_test.rb
trollop-2.9.9 test/trollop/version_needed_test.rb
trollop-2.1.3 test/trollop/version_needed_test.rb